Waybar hyprland/workspaces on-click not working

I have recently installed hyprland next to kde plasma. Almost everything seems to be working fine as well, I have only discovered this weird issue where the on-click action in waybar specifially in the hyprland/workspaces module is not working.
I have come to this conclusion as the on-click action works in the pulseaudio module (to open pavucontrol) but copying the same line into hyprland/workspaces to test doesn’t work.
I am running Waybar v0.15.0 and Hyprland 0.55.2

Hyprland 0.55.2 built from branch v0.55.2 at commit 39d7e209c79d451efab1b21151d5938289da838d clean (version: bump to 0.55.2).
Date: Sat May 16 12:59:19 2026
Tag: v0.55.2, commits: 7319

Libraries:
Hyprgraphics: built against 0.5.1, system has 0.5.1
Hyprutils: built against 0.13.1, system has 0.13.1
Hyprcursor: built against 0.1.13, system has 0.1.13
Hyprlang: built against 0.6.8, system has 0.6.8
Aquamarine: built against 0.11.0, system has 0.11.0

Version ABI string: 39d7e209c79d451efab1b21151d5938289da838d_aq_0.11_hu_0.13_hg_0.5_hc_0.1_hlg_0.6
no flags were set

And now you use shiny new lua config introduced in v0.55 :slight_smile: Some panels aren’t fully compatible yet, it’s known issue. And most of them have prepared fixes but not release new version yet. Among them is waybar :slight_smile:

Now you have 3 options:

  • wait for waybar update
  • write your config in old hyprlang, which still working but not for log
  • build waybar form source, preferably via waybar-git from aur
2 Likes