fix(waybar): stop summer themes rendering phantom workspaces

summer-day/summer-night showed all 10 workspace icons up-front. The cause:
legacy used the deprecated `persistent_workspaces` (underscore), which
current Waybar silently ignores — so legacy only ever showed *existing*
workspaces. The v1 port rewrote it to the modern `persistent-workspaces`
(hyphen), which Waybar honours, surfacing all ten as phantoms.

Drop the block from both summer waybar.jsonc whole-swaps. The other themes
render from waybar.nix, which never declared persistent-workspaces, so they
already only show existing workspaces — no change needed there.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
Bernardo Magri
2026-06-13 20:35:25 +01:00
parent 7c34eed2ca
commit f6c4a2a591
3 changed files with 9 additions and 15 deletions

View File

@@ -18,11 +18,7 @@
"all-outputs": true,
"on-click": "activate",
"on-scroll-up": "hyprctl dispatch workspace e+1",
"on-scroll-down": "hyprctl dispatch workspace e-1",
"persistent-workspaces": {
"1": [], "2": [], "3": [], "4": [], "5": [],
"6": [], "7": [], "8": [], "9": [], "10": []
}
"on-scroll-down": "hyprctl dispatch workspace e-1"
},
"custom/launcher": {

View File

@@ -18,11 +18,7 @@
"all-outputs": true,
"on-click": "activate",
"on-scroll-up": "hyprctl dispatch workspace r+1",
"on-scroll-down": "hyprctl dispatch workspace r-1",
"persistent-workspaces": {
"1": [], "2": [], "3": [], "4": [], "5": [],
"6": [], "7": [], "8": [], "9": [], "10": []
}
"on-scroll-down": "hyprctl dispatch workspace r-1"
},
"custom/nomarchy": {