nixos/absol/eww/config/eww.yuck

47 lines
744 B
Text
Raw Permalink Normal View History

; inspired by https://github.com/saimoomedits/eww-widgets/tree/main
(include "./widgets/workspaces/eww.yuck")
(include "./widgets/resources/eww.yuck")
(defwindow top-bar
:monitor 0
:geometry (geometry :x "0%"
:y "10px"
:width "98.8%"
:height "30px"
:anchor "top center")
:stacking "fg"
:exclusive true
(centerbox
:class "bar"
(left)
""
(right)
)
)
(defwidget left []
(box
:space-evenly false
:halign "start"
:class "container"
(label :text "" :class "nixos-icon")
(workspaces)
)
)
(defwidget right []
(box
:space-evenly false
:halign "end"
:class "container"
(volume)
(cpu)
(mem)
(battery)
(network)
(bluetooth)
(datetime)
)
)