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%+"
},
  • kcweller@feddit.nlOP
    link
    fedilink
    arrow-up
    0
    ·
    1 month ago

    It’s stupid of me not to just think of this, I was thinking it was some kind of preconfigured list. Thank you!