Alexays / Waybar

Highly customizable Wayland bar for Sway and Wlroots based compositors. :v: :tada:
MIT License
6.78k stars 710 forks source link

hyprland/workspaces Persistent workspace error #3711

Open nate-telecomm opened 1 month ago

nate-telecomm commented 1 month ago

On Waybar 0.11.0, the persistent workspaces "default" to one. Even if my config is

    "persistent_workspaces": {
        "*": 4,
    }

It will still give me this waybar-error

Has anyone experienced this and or fixed it?

nate-telecomm commented 1 month ago

If it looks like there is two, its just how waybar "adds" more workspaces when you switch to non persistent workspaces

kaizen4dev commented 4 weeks ago

I think you are using it wrong. According to wiki you should list every workspace individually. For example I want to display workspace 1, 2 and 3 on all my outputs(monitors):

"persistent-workspaces":{ 
      "1": [],
      "2": [],
      "3": []
    }

Also in your example you're using "persistent_workspaces" with underscore, while it worked fine in version 0.10.4(in my case) after switching to 0.11.0 it broke my config, turns out you need to use "-" instead.