Waybar behavior differs depending on whether using hyprland.conf or hyprland.lua

Hyprland version
Hyprland 0.55.2 built from branch v0.55.2 at commit 39d7e209c79d451efab1b21151d5938289da838d clean (version: bump to 0.55.2).

Describe your issue / feature…

This is my first post. I have searched and have not found any similar threads.

I have converted from using hyprland,conf to hyprland.lua. I use Waybar and have a hyprland/workspaces section. Using the same waybar configuration for both hyprland sessions started with hyprland.conf and hyprland.lua, I succeed in displaying waybar. But, when using .lua, I am unable to change workspaces by clicking on the workspace icons. When using the .conf, I can change workspaces by clicking on the icons.

I have checked that both modes are using the same waybar configuration by comparing the outputs of ‘ps -ef | grep waybar’. In both cases, the invocation is the same.

Looking for suggestions. Happy to provide any additional data that may be useful,

can you link/upload your waybar config (at least the workspace module)?, as far as my understanding go, i think the problem is related with the new dispatchers syntax

This has been fixed in git
Install waybar-git
If you are on archlinux it is available in the aur.

You are good to go.

The waybar-git from the AUR did indeed fix the problem. Thank you both for the help.

Is there some protocol for marking a thread solved?