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