▲ 1 r/waybar
Waybar workspace switching broken after switching main .conf to lua?
I've been stuck on this for a couple hours. Before switching the main conf to lua, I was able to click on the hyprland/workspaces module to switch between workspaces. Now nothing happens. No error show up if i click and these errors show when I scroll:
→ Note: dispatch in lua is a shorthand for hl.dispatch(...), your syntax might need to be updated.
error: [string "return hl.dispatch(workspace r-1)"]:1: ')' expected near 'r'
I thought only the config switches to lua and all addons were supposed to stay hyprlang?
I've been stuck on this for a longgg time.
this is my module:
// Workspaces (Hyprland)
"hyprland/workspaces": {
"on-scroll-up": "hyprctl dispatch workspace r-1",
"on-scroll-down": "hyprctl dispatch workspace r+1",
"on-click": "activate",
"active-only": false,
"all-outputs": true,
"format": "{}",
"format-icons": {
"urgent": "",
"active": "",
"default": ""
},
"persistent-workspaces": {
"*": 5
}
}
u/Current-Mango9459 — 21 hours ago