New backup 2025-03-03 19:00:01

This commit is contained in:
Penelope Gwen 2025-03-03 19:00:01 -08:00
parent c39c1d5603
commit fbe6ad9f6a

View file

@ -2,11 +2,10 @@
(centerbox :orientation "h" (centerbox :orientation "h"
(workspaces :array workspacesArray) (workspaces :array workspacesArray)
(music) (music)
(sidestuff) (rightgroup)))
(systray)))
(defwidget sidestuff [] (defwidget rightgroup []
(box :class "sidestuff" :orientation "h" :space-evenly false :halign "end" (box :class "rightgroup" :orientation "h" :space-evenly false :halign "end"
(metric :label "🔊" (metric :label "🔊"
:value volume :value volume
:onchange "amixer -D pulse sset Master {}%") :onchange "amixer -D pulse sset Master {}%")
@ -16,7 +15,8 @@
(metric :label "💾" (metric :label "💾"
:value {round((1 - (EWW_DISK["/"].free / EWW_DISK["/"].total)) * 100, 0)} :value {round((1 - (EWW_DISK["/"].free / EWW_DISK["/"].total)) * 100, 0)}
:onchange "") :onchange "")
time)) formattime(EWW_TIME,"%Y")
(systemtray)))
(deflisten workspacesArray :initial "${[1]}" (deflisten workspacesArray :initial "${[1]}"
`~/.config/eww/scripts/getWorkspaces.sh`) `~/.config/eww/scripts/getWorkspaces.sh`)
@ -32,14 +32,15 @@
:class {entry.focused ? "focused" : ""} :class {entry.focused ? "focused" : ""}
`${entry.name}`)))) `${entry.name}`))))
(defwidget music [] (defwidget systemtray []
(box :class "music" (systray
:orientation "h" :orientation "h"
:space-evenly false :space-evenly true
:spacing 10
:prepend-new true)) :prepend-new true))
(defwidget systray [] (defwidget music []
(box :class "systray" (box :class "music"
:orientation "h" :orientation "h"
:space-evenly false :space-evenly false
:halign "center" :halign "center"