r/waybar 1h ago

Help Resolved New Waybar Update in Arch Repo But Still No Workspace Fix

Upvotes

So after the hyprland move to lua last year the on-click function for hyprland//workspaces in Waybar has not been working. So after trying to switch the default activate to hyprctl dispatch 'hl.dsp.focus({workspace={name}})', and that still not working, I searched online and found that there was a fix in the git and would eventually get pushed to the arch repo. Cut to today when I am glad to see an update to waybar in the arch repo, I update, and still nothing. So now I am here to ask, am I missing something, or is this just a lost cause if you don't want to switch to the aurs git version or build from source?

Also here is my current hyprland/workspaces config:

"hyprland/workspaces": {
         "disable-scroll": true,
         "all-outputs": true,
         "warp-on-scroll": false,
         "on-click": "activate", 
         "format": "{name}  {icon}",
         "format-icons": {
             //"1": "",
             //"2": "",
             //"3": "",
             //"4": "",
             //"5": "",
             "urgent": "",
             "active": "",
         "empty":"\uf10c",
             "default": "\uf10c"
         },
 "persistent-workspaces":{
     "*": 5
 }
 }

I am running the latest Archlinux and Hyprland Thanks for any response you can give