43 lines
1.0 KiB
Plaintext
43 lines
1.0 KiB
Plaintext
(include "./widgets/common.yuck")
|
|
|
|
(include "./widgets/battery.yuck")
|
|
(include "./widgets/clock.yuck")
|
|
(include "./widgets/volume.yuck")
|
|
(include "./widgets/workspaces.yuck")
|
|
(include "./widgets/wifi.yuck")
|
|
|
|
(defwindow top-bar
|
|
:monitor 0
|
|
:geometry (geometry :x "0%"
|
|
:y "8px"
|
|
:width "100%"
|
|
:height "40px"
|
|
:anchor "top center")
|
|
:stacking "fg"
|
|
:exclusive "true"
|
|
(box :class "top-bar"
|
|
:orientation "h"
|
|
:space-evenly "true"
|
|
(bar-left)
|
|
(bar-center)
|
|
(bar-right)))
|
|
|
|
(defwidget bar-left []
|
|
(box :halign "start"
|
|
:orientation "h"
|
|
(workspaces-module)))
|
|
|
|
(defwidget bar-center []
|
|
(box :halign "center"
|
|
:orientation "h"))
|
|
|
|
(defwidget bar-right []
|
|
(box :halign "end"
|
|
:orientation "h"
|
|
:space-evenly "false"
|
|
(wifi-module)
|
|
(battery-module)
|
|
(volume-module)
|
|
(sep)
|
|
(clock-module)))
|