Remove sunset control from EWW
This commit is contained in:
parent
058d5b2f9f
commit
1c5bbd3373
1 changed files with 0 additions and 8 deletions
|
@ -132,13 +132,6 @@
|
||||||
(label_value :text {battery.charging ? "" : battery.icon} :value "${battery.charge}%" :value_class {battery.charge < 30 ? "alert" : ""}))
|
(label_value :text {battery.charging ? "" : battery.icon} :value "${battery.charge}%" :value_class {battery.charge < 30 ? "alert" : ""}))
|
||||||
|
|
||||||
|
|
||||||
; This is really hacky - a deflisten on a script using gdbus would be better
|
|
||||||
(defpoll shader :interval 60 "sh -c 'systemctl --user status sunset.service | cat'")
|
|
||||||
(defwidget shader []
|
|
||||||
(eventbox :onclick "systemctl --user ${arraylength(search(shader, "activating")) == 0 ? "--no-block start" : "stop"} sunset.service" :cursor "pointer"
|
|
||||||
(label :text {arraylength(search(shader, "activating")) == 0 ? "" : ""} :class "primary")))
|
|
||||||
|
|
||||||
|
|
||||||
(defpoll weather :interval 300 "~/scripts/get-weather.sh")
|
(defpoll weather :interval 300 "~/scripts/get-weather.sh")
|
||||||
(defpoll weather_icons :interval 0 :run-while false "cat ~/.config/eww/scripts/weather-icons.json")
|
(defpoll weather_icons :interval 0 :run-while false "cat ~/.config/eww/scripts/weather-icons.json")
|
||||||
(defwidget weather []
|
(defwidget weather []
|
||||||
|
@ -172,7 +165,6 @@
|
||||||
(gametime)(space)
|
(gametime)(space)
|
||||||
(colour_selector)(space)
|
(colour_selector)(space)
|
||||||
(wallpaper)(space)
|
(wallpaper)(space)
|
||||||
(shader)(sep)
|
|
||||||
(mountpoint :label "/" :mount "/")(space)
|
(mountpoint :label "/" :mount "/")(space)
|
||||||
(mountpoint :label "" :mount "/home/mbradley/hdd")(sep)
|
(mountpoint :label "" :mount "/home/mbradley/hdd")(sep)
|
||||||
(ram)(space)
|
(ram)(space)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue