Closed kurtnettle closed 6 months ago
Weird issue, I'm not experiencing this issue at all...
Test my config and see if it works better for you:
"custom/notification": {
"tooltip": true,
"format": "{icon}",
"format-icons": {
"notification": "",
"none": "",
"dnd-notification": "",
"dnd-none": "",
"inhibited-notification": "",
"inhibited-none": "",
"dnd-inhibited-notification": "",
"dnd-inhibited-none": ""
},
"return-type": "json",
"exec-if": "which swaync-client",
"exec": "swaync-client -swb",
"on-click": "swaync-client -t -sw",
"on-click-right": "swaync-client -d -sw",
"escape": true
},
Weird issue, I'm not experiencing this issue at all...
Test my config and see if it works better for you:
"custom/notification": { "tooltip": true, "format": "{icon}", "format-icons": { "notification": "", "none": "", "dnd-notification": "", "dnd-none": "", "inhibited-notification": "", "inhibited-none": "", "dnd-inhibited-notification": "", "dnd-inhibited-none": "" }, "return-type": "json", "exec-if": "which swaync-client", "exec": "swaync-client -swb", "on-click": "swaync-client -t -sw", "on-click-right": "swaync-client -d -sw", "escape": true },
I have tried your config (both on my setup and also with latest and default config of waybar and swaync) but it didn't solve my issue. I faced this issue yesterday when I copied the example from the swaync README. After a bit googling, I came to know that it's an issue with Waybar. Adding sleep 0.1
solves the issue on my end.
Tested with default config on:
waybar-git r3034.0a747dda-1
swaync-git v0.9.0.r30.g70eaa5b-1
update: added a screenrecording
What WM are you using? Sway?
What WM are you using? Sway?
Hyprland (I hope the author of Hyprland doesn't find this)
Hyprland (I hope the author of Hyprland doesn't find this)
This could be a Hyprland issue. Try testing with Sway. If it's a Hyprland issue, we could add a note for Hyprland issues in the PR instead :)
Running on NixOS with Hyprland and used the config directly from the readme without issue. This could be fixed in a recent version of hyprland or machine specific.
Running on NixOS with Hyprland and used the config directly from the readme without issue. This could be fixed in a recent version of hyprland or machine specific.
Thanks for checking! I'll close this then
Details: https://github.com/Alexays/Waybar/issues/1968
TLDR: clicks were getting registered at wrong location which made the Waybar unusable.