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/bottomBar/workspaces.yuck | |
| parent | a414126dbda913dcc33d5f9546a9f99859d1557f (diff) | |
| parent | 84d39cf904e7008434c1e5ed8257cf09b1875bea (diff) | |
Merge branch 'schrott-extract-rice'
Diffstat (limited to 'home/rices/schrottkatze/eww/configDir/bottomBar/workspaces.yuck')
| -rw-r--r-- | home/rices/schrottkatze/eww/configDir/bottomBar/workspaces.yuck | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/home/rices/schrottkatze/eww/configDir/bottomBar/workspaces.yuck b/home/rices/schrottkatze/eww/configDir/bottomBar/workspaces.yuck new file mode 100644 index 0000000..2709e1b --- /dev/null +++ b/home/rices/schrottkatze/eww/configDir/bottomBar/workspaces.yuck @@ -0,0 +1,18 @@ +(defwidget workspaceWidget [] + (box + :class "workspaces" + (for workspace in workspaces + (button + :style "border-bottom: 4px solid ${workspace.color}${workspace.active ? "; background-color: #3c3836" : ""}" + :class "${workspace.focused ? "focused" : ""}" + :onclick "niri msg action focus-workspace ${workspace.idx}" + (label :text "${workspace.icon ?: workspace.idx}") + ) + ) + ) +) + +(deflisten workspaces + :initial "[]" + "bar-ws-monitor" +) |
