Try to get hyprpicker working as part of EWW

This commit is contained in:
Michael Bradley 2025-03-26 23:20:39 -04:00
parent bd3ebb4bff
commit 058d5b2f9f
Signed by: MichaelBradley
SSH key fingerprint: SHA256:cj/YZ5VT+QOKncqSkx+ibKTIn0Obg7OIzwzl9BL8EO8

View file

@ -115,8 +115,8 @@
(defwidget clicker [text command]
(eventbox :onclick command :cursor "pointer" :timeout "3600s"
(label :text text :class "primary")))
(defwidget color_selector []
(clicker :text "" :command "hyprpicker -a & disown"))
(defwidget colour_selector []
(clicker :text "" :command "uwsm-app -- hyprpicker -a"))
(defwidget wallpaper []
(clicker :text "󰸉" :command "~/scripts/swww_change.py"))
@ -170,6 +170,7 @@
(systray :pack_direction "ltr" :icon-size 20)
(box :class "right" :orientation "h" :space-evenly false :halign "end"
(gametime)(space)
(colour_selector)(space)
(wallpaper)(space)
(shader)(sep)
(mountpoint :label "/" :mount "/")(space)
@ -188,7 +189,7 @@
(systray :pack_direction "ltr" :icon-size 20)
(box :class "right" :orientation "h" :space-evenly false :halign "end"
(weather)(sep)
(color_selector)(space)
(colour_selector)(space)
(wallpaper)(sep)
(ram)(space)
(cpu)(sep)