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:
12
README.md
12
README.md
@@ -386,8 +386,10 @@ close · `SUPER+1..9` workspaces · `Print` region screenshot.
|
|||||||
field (`{active, inactive}`) to the theme schema (`theme.nix`), consumed
|
field (`{active, inactive}`) to the theme schema (`theme.nix`), consumed
|
||||||
solid in `hyprland.nix`, and declared it in every preset so a switch
|
solid in `hyprland.nix`, and declared it in every preset so a switch
|
||||||
always replaces it. All six identity themes now match legacy exactly.
|
always replaces it. All six identity themes now match legacy exactly.
|
||||||
- **Waybar shows non-existent workspaces:** in summer-night/summer-day the
|
- ✓ **Waybar shows non-existent workspaces:** the v1 summer port "fixed"
|
||||||
bar renders every workspace icon up-front via `persistent-workspaces` /
|
legacy's deprecated `persistent_workspaces` (underscore — silently
|
||||||
`all-outputs` in `themes/summer-{day,night}/waybar.jsonc`. Restore the
|
ignored by current Waybar, so legacy only ever showed existing
|
||||||
legacy behaviour (only show workspaces that exist) here and across the
|
workspaces) into the modern `persistent-workspaces` (hyphen), which
|
||||||
other themes.
|
Waybar honours → all 10 rendered as phantoms. Dropped the block from
|
||||||
|
`themes/summer-{day,night}/waybar.jsonc`; the other themes use the
|
||||||
|
generated `waybar.nix`, which never had it, so they already match.
|
||||||
|
|||||||
@@ -18,11 +18,7 @@
|
|||||||
"all-outputs": true,
|
"all-outputs": true,
|
||||||
"on-click": "activate",
|
"on-click": "activate",
|
||||||
"on-scroll-up": "hyprctl dispatch workspace e+1",
|
"on-scroll-up": "hyprctl dispatch workspace e+1",
|
||||||
"on-scroll-down": "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": []
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
|
|
||||||
"custom/launcher": {
|
"custom/launcher": {
|
||||||
|
|||||||
@@ -18,11 +18,7 @@
|
|||||||
"all-outputs": true,
|
"all-outputs": true,
|
||||||
"on-click": "activate",
|
"on-click": "activate",
|
||||||
"on-scroll-up": "hyprctl dispatch workspace r+1",
|
"on-scroll-up": "hyprctl dispatch workspace r+1",
|
||||||
"on-scroll-down": "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": []
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
|
|
||||||
"custom/nomarchy": {
|
"custom/nomarchy": {
|
||||||
|
|||||||
Reference in New Issue
Block a user