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