SolDoesTech / HyprV4

452 stars 133 forks source link

refactor(waybar): deprecated wlr/workspaces #55

Open imsakg opened 10 months ago

imsakg commented 10 months ago

Since ext-workspace-unstable-v1 implementation removed from hyprland, wlr/workspace module will no longer work. They find the implementation memory-unsafe. This changes contains basic changes for waybar module that show workspace in waybar.

refs:

tommytech99 commented 5 months ago

The fix for v4 hyprland config worked for me as well. I do see all 10 workspaces now, but I prefer that over seeing nothing. Just giving my thumbs up for this request as it was something I spent about an hour tinkering with before I fixed it. I was thinking of doing my own pull request, but found that this one actually solves the issue as well.

joseocio192 commented 4 months ago

The fix for v4 hyprland config worked for me as well. I do see all 10 workspaces now, but I prefer that over seeing nothing. Just giving my thumbs up for this request as it was something I spent about an hour tinkering with before I fixed it. I was thinking of doing my own pull request, but found that this one actually solves the issue as well.

I prefer to only show my active spaces, but if you want to only show the first 3, you can use the code below, or just remove persistent workspaces and embrace minimalism.

"hyprland/workspaces": { "disable-scroll": true, "active-only:": true, "all-outputs": false, "on-click": "activate", "persistent_workspaces": { "1": [], "2": [], "3": [] } }

karomba commented 1 month ago

this should be merged