diff options
| author | Natasha Moongrave <natasha@256phi.eu> | 2026-04-10 19:20:58 +0200 |
|---|---|---|
| committer | Natasha Moongrave <natasha@256phi.eu> | 2026-04-10 19:20:58 +0200 |
| commit | adcc6ca839c4780a8adb82de712ec3c9e4da33f3 (patch) | |
| tree | cafb7b744316ad79aef2bb2c899f920c4ae2cc83 /home/rices/schrottkatze/eww/configDir/topBar/topBar.yuck | |
| parent | a414126dbda913dcc33d5f9546a9f99859d1557f (diff) | |
| parent | 84d39cf904e7008434c1e5ed8257cf09b1875bea (diff) | |
Merge branch 'schrott-extract-rice'
Diffstat (limited to 'home/rices/schrottkatze/eww/configDir/topBar/topBar.yuck')
| -rw-r--r-- | home/rices/schrottkatze/eww/configDir/topBar/topBar.yuck | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/home/rices/schrottkatze/eww/configDir/topBar/topBar.yuck b/home/rices/schrottkatze/eww/configDir/topBar/topBar.yuck new file mode 100644 index 0000000..4aee71f --- /dev/null +++ b/home/rices/schrottkatze/eww/configDir/topBar/topBar.yuck @@ -0,0 +1,55 @@ +(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 "33px" + :anchor "top center") + (topBar)) + +(defwidget topBar [] + (overlay + :class "topBar" + (transform + :translate-y "-1.5px" + (centerbox + (box + :halign "start" + :spacing 12 + :space-evenly false + (label :text " ") + (cpu) + (sep) + (mem) + (label :markup bat) + ) + (box + :halign "center" + (systray + :icon-size 18 + :spacing 3 + ) + ) + (box + :halign "end" + (time) + ) + ) + ) + (box + :class "transFlag" + :height 1 + ( 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") + ) + ) +) |
