Hey everyone,
Recently started with Arch, using Hyprland as a WM and Waybar as a statusbar. In the link I refer to a module page on the arch-wiki. There they refer to ‘commands’ when actions happen, for instance: on-click, on-scroll, etc.
How do I figure out what commands are available for that module?
In this case, I would like to reverse the scrolling from the default behavior. The backlight module has an option ’ reverse-scrolling’ baked in, but this one doesn’t. So how do I figure out how to send what command to wireplumber through the scroll actions of the waybar module?
Kr
Kevin!
Solution:
I’m a bit dumb and it’s any and all shell command, so the solution was
"wireplumber": {
"on-scroll-up": "wpctl set-volume -l 1.0 @DEFAULT_AUDIO_SINK@ 5%-",
"on-scroll-down": "wpctl set-volume -l 1.0 @DEFAULT_AUDIO_SINK@ 5%+"
},
I think it means any command you can run from the shell.
It’s stupid of me not to just think of this, I was thinking it was some kind of preconfigured list. Thank you!
Nah not stupid 😊 “command” is a little ambiguous in the documentation.