Call sunset script directly from EWW

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

View file

@ -122,7 +122,7 @@
(defwidget wallpaper []
(clicker :text "󰸉" :command "~/scripts/swww_change.py"))
(defwidget sunset []
(clicker :text "" :command "systemctl --user start sunset.service"))
(clicker :text "" :command "~/scripts/sunset.py"))
(defpoll brightness :interval 60 "~/.config/eww/scripts/backlight get")
@ -169,7 +169,7 @@
(gametime)(space)
; (colour_selector)(space)
(sunset)(space)
(wallpaper)(space)
(wallpaper)(sep)
(mountpoint :label "/" :mount "/")(space)
(mountpoint :label "󰋊" :mount "/home/mbradley/hdd")(sep)
(ram)(space)