Format EWW config

This commit is contained in:
Michael Bradley 2025-06-05 00:17:34 -04:00
parent d9fc032749
commit 1db9f88179
Signed by: MichaelBradley
SSH key fingerprint: SHA256:o/aaeYtRubILK7OYYjYP12DmU7BsPUhKji1AgaQ+ge4

View file

@ -63,11 +63,11 @@
(network_speed :label "󰈀" :interface "enp6s0")) (network_speed :label "󰈀" :interface "enp6s0"))
(defwidget wlan [] (defwidget wlan []
(network_speed :label "" (network_speed :label ""
{% if host.name == "chonk" %} {% if host.name == "chonk" %}
:interface "wlo1" :interface "wlo1"
{% else %} {% else %}
:interface "wlp1s0" :interface "wlp1s0"
{% endif %} {% endif %}
)) ))
(defwidget date [] (defwidget date []
@ -94,8 +94,8 @@
(label :text "" :class "lock")) (label :text "" :class "lock"))
(eventbox :onclick "systemctl suspend" :cursor "pointer" (eventbox :onclick "systemctl suspend" :cursor "pointer"
(label :text "鈴" :class "sleep")) (label :text "鈴" :class "sleep"))
; (eventbox :onclick "systemctl hibernate" :cursor "pointer" ;(eventbox :onclick "systemctl hibernate" :cursor "pointer"
; (label :text "" :class "hibernate")) ;(label :text "" :class "hibernate"))
(eventbox :onclick "reboot" :cursor "pointer" (eventbox :onclick "reboot" :cursor "pointer"
(label :text "ﰇ" :class "reboot")) (label :text "ﰇ" :class "reboot"))
(eventbox :onclick "shutdown now" :cursor "pointer" (eventbox :onclick "shutdown now" :cursor "pointer"
@ -118,7 +118,7 @@
(eventbox :onclick command :cursor "pointer" :timeout "3600s" (eventbox :onclick command :cursor "pointer" :timeout "3600s"
(label :text text :class "primary"))) (label :text text :class "primary")))
;(defwidget colour_selector [] ;(defwidget colour_selector []
; (clicker :text "" :command "uwsm-app -- hyprpicker -a")) ;(clicker :text "" :command "uwsm-app -- hyprpicker -a"))
(defwidget wallpaper [] (defwidget wallpaper []
(clicker :text "󰸉" :command "~/scripts/swww_change.py")) (clicker :text "󰸉" :command "~/scripts/swww_change.py"))
(defwidget sunset [] (defwidget sunset []
@ -167,7 +167,7 @@
(systray :pack_direction "ltr" :icon-size 20) (systray :pack_direction "ltr" :icon-size 20)
(box :class "right" :orientation "h" :space-evenly false :halign "end" (box :class "right" :orientation "h" :space-evenly false :halign "end"
(gametime)(space) (gametime)(space)
; (colour_selector)(space) ;(colour_selector)(space)
(sunset)(space) (sunset)(space)
(wallpaper)(sep) (wallpaper)(sep)
(mountpoint :label "/" :mount "/")(space) (mountpoint :label "/" :mount "/")(space)
@ -186,7 +186,7 @@
(systray :pack_direction "ltr" :icon-size 20) (systray :pack_direction "ltr" :icon-size 20)
(box :class "right" :orientation "h" :space-evenly false :halign "end" (box :class "right" :orientation "h" :space-evenly false :halign "end"
(weather)(sep) (weather)(sep)
; (colour_selector)(space) ;(colour_selector)(space)
(sunset)(space) (sunset)(space)
(wallpaper)(sep) (wallpaper)(sep)
(ram)(space) (ram)(space)
@ -201,11 +201,12 @@
(defwindow left (defwindow left
:monitor 1 :monitor 1
:geometry (geometry :x "0px" :geometry (geometry
:y "4px" :x "0px"
:width "1912px" :y "4px"
:height "24px" :width "1912px"
:anchor "top center") :height "24px"
:anchor "top center")
:stacking "bg" :stacking "bg"
:exclusive true :exclusive true
:focusable false :focusable false
@ -213,10 +214,10 @@
(defwindow right (defwindow right
:monitor 0 :monitor 0
:geometry (geometry :x "0px" :geometry (geometry :x "0px"
:y "4px" :y "4px"
:width "1912px" :width "1912px"
:height "24px" :height "24px"
:anchor "top center") :anchor "top center")
:stacking "fg" :stacking "fg"
:exclusive true :exclusive true
:focusable false :focusable false
@ -225,10 +226,10 @@
(defwindow laptop (defwindow laptop
:monitor 0 :monitor 0
:geometry (geometry :x "0px" :geometry (geometry :x "0px"
:y "4px" :y "4px"
:width "1912px" :width "1912px"
:height "24px" :height "24px"
:anchor "top center") :anchor "top center")
:stacking "fg" :stacking "fg"
:exclusive true :exclusive true
:focusable false :focusable false