New backup 2025-03-03 18:45:01

This commit is contained in:
Penelope Gwen 2025-03-03 18:45:01 -08:00
parent 6e6cde6299
commit c39c1d5603

View file

@ -2,7 +2,8 @@
(centerbox :orientation "h" (centerbox :orientation "h"
(workspaces :array workspacesArray) (workspaces :array workspacesArray)
(music) (music)
(sidestuff))) (sidestuff)
(systray)))
(defwidget sidestuff [] (defwidget sidestuff []
(box :class "sidestuff" :orientation "h" :space-evenly false :halign "end" (box :class "sidestuff" :orientation "h" :space-evenly false :halign "end"
@ -33,6 +34,12 @@
(defwidget music [] (defwidget music []
(box :class "music" (box :class "music"
:orientation "h"
:space-evenly false
:prepend-new true))
(defwidget systray []
(box :class "systray"
:orientation "h" :orientation "h"
:space-evenly false :space-evenly false
:halign "center" :halign "center"
@ -62,12 +69,27 @@
"date '+%H:%M %b %d, %Y'") "date '+%H:%M %b %d, %Y'")
(defwindow bar (defwindow bar
:monitor 0 :monitor 2
:windowtype "dock" :windowtype "dock"
:exclusive true
:geometry (geometry :x "0%" :geometry (geometry :x "0%"
:y "0%" :y "0%"
:width "99%" :width "99%"
:height "10px" :height "10px"
:anchor "top center") :anchor "top center")
:reserve (struts :side "top" :distance "4%") :reserve (struts :side "top" :distance "4%")
(bar)) (bar))
(defwindow example
:monitor 2
:geometry (geometry :x "0%"
:y "30px"
:width "90%"
:height "30px"
:anchor "top center")
:stacking "fg"
:exclusive false
:reserve (struts :distance "40px" :side "top")
:windowtype "dock"
:wm-ignore false
"example content")