updating a lot of hyprland config pieces

This commit is contained in:
Chris Cochrun 2022-12-21 09:13:28 -06:00
parent 28645f7175
commit d9cf8e32a7
9 changed files with 245 additions and 172 deletions

View file

@ -24,7 +24,7 @@
;; background
(defwidget side []
(box
(box
:class "side"
:orientation "v"
:space-evenly "false"
@ -47,35 +47,35 @@
;; weather
(defwidget weather []
(box
:class "weather"
:orientation "v"
:spacing -2
:space-evenly "false"
:vexpand "true"
:hexpand "false"
:valign "start"
:halign "center"
(label
:class "iconweather"
:halign "center"
:valign "center"
:style "color: ${HEX};" :text ICON)
(button
:onclick "scripts/weather --getdata && eww reload &"
:class "label_temp"
:valign "center"
:halign "center"
"${TEMP}")))
(box
:class "weather"
:orientation "v"
:spacing -2
:space-evenly "false"
:vexpand "true"
:hexpand "false"
:valign "start"
:halign "center"
(label
:class "iconweather"
:halign "center"
:valign "center"
:style "color: ${HEX};" :text ICON)
(button
:onclick "scripts/weather --getdata && eww reload &"
:class "label_temp"
:valign "center"
:halign "center"
"${TEMP}")))
(defwidget date []
(box :class "date" :orientation "v" :valign "start" :space-evenly "false" :halign "center"
(box :class "date" :orientation "v" :valign "start" :space-evenly "false" :halign "center"
(label
:text DAY)
:text DAY)
(label
:text POO)
(label :class "foo"
:text FOO)))
:text POO)
(label :class "foo"
:text FOO)))
(defpoll FOO :interval "6h" "date '+%d'")
(defpoll DAY :interval "6h" "date '+%A'")
@ -225,31 +225,29 @@
(defwidget fetch []
(box
:class "fetch"
:orientation "v"
:space-evenly "false"
:halign "center"
:valign "start"
:spacing "10"
(label
:class "host"
:halign "start"
:text " : ${name}@${host}")
(label
:class "wm"
:halign "start"
:text " : ${wm}")
(label
:class "uptime"
:halign "start"
:text " : ${uptime}")
;; (label
;; :class "packages"
;; :halign "start"
;; :text " : ${packages}")
(label
:class "kernal"
:halign "start"
:text " : ${kernal}")
)
)
:class "fetch"
:orientation "v"
:space-evenly "false"
:halign "center"
:valign "start"
:spacing "10"
(label
:class "host"
:halign "start"
:text " : ${name}@${host}")
(label
:class "wm"
:halign "start"
:text " : ${wm}")
(label
:class "uptime"
:halign "start"
:text " : ${uptime}")
;; (label
;; :class "packages"
;; :halign "start"
;; :text " : ${packages}")
(label
:class "kernal"
:halign "start"
:text " : ${kernal}")))