Add manual sunset trigger

To be improved later (toggle?)
This commit is contained in:
Michael Bradley 2025-05-11 22:29:15 -04:00
parent 21efddb462
commit 6383810bb0
Signed by: MichaelBradley
SSH key fingerprint: SHA256:BKO2eI2LPsCbQS3n3i5SdwZTAIV3F1lHezR07qP+Ob0

View file

@ -121,6 +121,8 @@
; (clicker :text "" :command "uwsm-app -- hyprpicker -a"))
(defwidget wallpaper []
(clicker :text "󰸉" :command "~/scripts/swww_change.py"))
(defwidget sunset []
(clicker :text "" :command "systemctl --user start sunset.service"))
(defpoll brightness :interval 60 "~/.config/eww/scripts/backlight get")
@ -166,6 +168,7 @@
(box :class "right" :orientation "h" :space-evenly false :halign "end"
(gametime)(space)
; (colour_selector)(space)
(sunset)(space)
(wallpaper)(space)
(mountpoint :label "/" :mount "/")(space)
(mountpoint :label "󰋊" :mount "/home/mbradley/hdd")(sep)
@ -184,6 +187,7 @@
(box :class "right" :orientation "h" :space-evenly false :halign "end"
(weather)(sep)
; (colour_selector)(space)
(sunset)(space)
(wallpaper)(sep)
(ram)(space)
(cpu)(sep)