mirror of
https://forge.katzen.cafe/schrottkatze/nix-configs.git
synced 2024-11-06 07:36:23 +01:00
57 lines
1 KiB
Plaintext
57 lines
1 KiB
Plaintext
(include "topBar/time.yuck")
|
|
(include "topBar/sysinfo.yuck")
|
|
(include "util.yuck")
|
|
|
|
(defwindow topBar
|
|
:monitor 0
|
|
:stacking "fg"
|
|
:windowtype "normal"
|
|
:wm-ignore true
|
|
:exclusive true
|
|
:geometry (geometry
|
|
:width "100%"
|
|
:height "32px"
|
|
:anchor "top center")
|
|
(topBar))
|
|
|
|
(defwidget topBar []
|
|
(overlay
|
|
:class "topBar"
|
|
(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)
|
|
)
|
|
)
|
|
(box
|
|
:class "transFlag"
|
|
:height 1
|
|
( flagEl :color "#5BCEFA")
|
|
( flagEl :color "#F5A9B8")
|
|
( flagEl :color "#FFFFFF")
|
|
( flagEl :color "#F5A9B8")
|
|
( flagEl :color "#5BCEFA")
|
|
)
|
|
)
|
|
)
|