nixconfig/home/gui/eww/eww.yuck
2023-10-12 16:16:29 +02:00

44 lines
784 B
Plaintext
Executable File

(include "./modules/clock.yuck")
(include "./modules/net.yuck")
(include "./modules/sys.yuck")
(include "./modules/variables.yuck")
(include "./modules/workspaces.yuck")
(include "./windows/calendar.yuck")
(include "./windows/system.yuck")
(defwidget left []
(box
:space-evenly false
:halign "start"
(workspaces)))
(defwidget right []
(box
:space-evenly false
:halign "end"
(sys)
(clock_module)))
(defwidget center []
(box
:space-evenly false
:halign "center"
))
(defwidget bar-box []
(centerbox
(left)
(center)
(right)))
(defwindow bar
:monitor 0
:geometry (geometry :x "0%"
:y "0%"
:width "100%"
:height "32px"
:anchor "top center")
:stacking "fg"
:exclusive true
(bar-box))