nix-configs/modules/desktop-environment/home/panels/eww/configDir/topBar/topBar.yuck

59 lines
1.2 KiB
Text
Raw Permalink Normal View History

2024-08-28 07:12:28 +00:00
(include "topBar/time.yuck")
(include "topBar/sysinfo.yuck")
(include "util.yuck")
(defwindow topBar
:monitor 0
:stacking "fg"
:wm-ignore true
:exclusive true
:geometry (geometry
:width "100%"
:height "32px"
:anchor "top center")
(topBar))
(defwidget topBar []
(overlay
:class "topBar"
2024-10-03 17:30:56 +00:00
(transform
:translate-y "-1.5px"
(centerbox
(box
:halign "start"
:spacing 12
:space-evenly false
(label :text " ")
(cpu)
(sep)
(mem)
(sep)
(label :markup bat0)
(sep)
(label :markup bat1)
)
(box
:halign "center"
(systray
:icon-size 18
:spacing 3
)
)
(box
:halign "end"
(time)
2024-08-28 07:12:28 +00:00
)
)
)
(box
:class "transFlag"
:height 1
2024-09-02 17:07:19 +00:00
( flagEl :flipped false :color "#5BCEFA")
( flagEl :flipped false :color "#F5A9B8")
( flagEl :flipped false :color "#FFFFFF")
( flagEl :flipped false :color "#F5A9B8")
( flagEl :flipped false :color "#5BCEFA")
2024-08-28 07:12:28 +00:00
)
)
)