[StumpWM] Update volume keybinds
Some checks reported errors
continuous-integration/drone/push Build encountered an error
Some checks reported errors
continuous-integration/drone/push Build encountered an error
Do not use amixer but pactl This allows to modify the volume of whichever the default output is instead of just the main output of the computer.
This commit is contained in:
parent
4c42a17fc6
commit
02c54f3709
@ -1784,15 +1784,15 @@ media-related, but I’ll add keybinds for my screen’s backlight.
|
|||||||
#+name: media-top-level
|
#+name: media-top-level
|
||||||
#+caption: Top-level media keys
|
#+caption: Top-level media keys
|
||||||
| Keychord | Function |
|
| Keychord | Function |
|
||||||
|-----------------------+--------------------------------------|
|
|-----------------------+------------------------------------------------|
|
||||||
| ~XF86AudioPlay~ | ~mpd-toggle-pause~ |
|
| ~XF86AudioPlay~ | ~mpd-toggle-pause~ |
|
||||||
| ~XF86AudioPause~ | ~exec mpc pause~ |
|
| ~XF86AudioPause~ | ~exec mpc pause~ |
|
||||||
| ~XF86AudioStop~ | ~mpd-stop~ |
|
| ~XF86AudioStop~ | ~mpd-stop~ |
|
||||||
| ~XF86AudioPrev~ | ~mpd-prev~ |
|
| ~XF86AudioPrev~ | ~mpd-prev~ |
|
||||||
| ~XF86AudioNext~ | ~mpd-next~ |
|
| ~XF86AudioNext~ | ~mpd-next~ |
|
||||||
| ~XF86AudioRaiseVolume~ | ~exec amixer -q set Master 2%+ unmute~ |
|
| ~XF86AudioRaiseVolume~ | ~exec pactl set-sink-volume @DEFAULT_SINK@ +2~ |
|
||||||
| ~XF86AudioLowerVolume~ | ~exec amixer -q set Master 2%- unmute~ |
|
| ~XF86AudioLowerVolume~ | ~exec pactl set-sink-volume @DEFAULT_SINK@ -2~ |
|
||||||
| ~XF86AudioMute~ | ~exec amixer -q set Master 1+ toggle~ |
|
| ~XF86AudioMute~ | ~exec pactl set-sink-mute @DEFAULT_SINK@ toggle~ |
|
||||||
| ~XF86MonBrightnessDown~ | ~exec xbacklight -dec 2~ |
|
| ~XF86MonBrightnessDown~ | ~exec xbacklight -dec 2~ |
|
||||||
| ~XF86MonBrightnessUp~ | ~exec xbacklight -inc 2~ |
|
| ~XF86MonBrightnessUp~ | ~exec xbacklight -inc 2~ |
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user