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>
96 lines
2.3 KiB
JSON
96 lines
2.3 KiB
JSON
{
|
|
"margin-top": 0,
|
|
"margin-left": 120,
|
|
"margin-bottom": 0,
|
|
"margin-right": 120,
|
|
"height": 61,
|
|
"layer": "top",
|
|
"position": "top",
|
|
"spacing": 15,
|
|
"reload_style_on_change": true,
|
|
|
|
"modules-left": ["custom/nomarchy", "clock", "clock#date"],
|
|
"modules-center": ["hyprland/workspaces"],
|
|
"modules-right": ["idle_inhibitor", "pulseaudio", "network", "battery", "tray", "custom/powermenu"],
|
|
|
|
"hyprland/workspaces": {
|
|
"disable-scroll": true,
|
|
"all-outputs": true,
|
|
"on-click": "activate",
|
|
"on-scroll-up": "hyprctl dispatch workspace r+1",
|
|
"on-scroll-down": "hyprctl dispatch workspace r-1"
|
|
},
|
|
|
|
"custom/nomarchy": {
|
|
"interval": "once",
|
|
"format": "",
|
|
"on-click": "nomarchy-menu",
|
|
"tooltip-format": "Nomarchy menu"
|
|
},
|
|
|
|
"idle_inhibitor": {
|
|
"format": "{icon}",
|
|
"format-icons": {
|
|
"activated": " ",
|
|
"deactivated": " "
|
|
}
|
|
},
|
|
|
|
"pulseaudio": {
|
|
"scroll-step": 5,
|
|
"format": "{icon} {volume}%",
|
|
"format-bluetooth": "{icon} {volume}%",
|
|
"format-bluetooth-muted": " {icon}",
|
|
"format-muted": " muted",
|
|
"format-icons": {
|
|
"headphone": "",
|
|
"hands-free": "",
|
|
"headset": "",
|
|
"phone": "",
|
|
"portable": "",
|
|
"car": "",
|
|
"default": ["", "", ""]
|
|
},
|
|
"on-click": "wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle",
|
|
"tooltip-format": "{desc} | {volume}%"
|
|
},
|
|
|
|
"network": {
|
|
"format-wifi": " {essid}",
|
|
"format-ethernet": "",
|
|
"format-disconnected": "",
|
|
"on-click": "sh -c '$TERMINAL -e nmtui'",
|
|
"tooltip-format": "{ipaddr} via {gwaddr}"
|
|
},
|
|
|
|
"battery": {
|
|
"interval": 30,
|
|
"states": { "warning": 25, "critical": 10 },
|
|
"format": "{icon} {capacity}%",
|
|
"format-charging": " {capacity}%",
|
|
"format-plugged": " {capacity}%",
|
|
"format-icons": ["", "", "", "", ""],
|
|
"on-click": "nomarchy-menu power",
|
|
"tooltip-format": "Battery status"
|
|
},
|
|
|
|
"clock": {
|
|
"format": " {:%H:%M}",
|
|
"tooltip": true,
|
|
"tooltip-format": "<tt><small>{calendar}</small></tt>"
|
|
},
|
|
|
|
"clock#date": {
|
|
"format": " {:%A, %B %d, %Y}",
|
|
"tooltip": false
|
|
},
|
|
|
|
"tray": { "spacing": 8 },
|
|
|
|
"custom/powermenu": {
|
|
"format": "",
|
|
"on-click": "nomarchy-menu power",
|
|
"tooltip": false
|
|
}
|
|
}
|