[StumpWM, Emacs] Change keybind for changing volume
This commit is contained in:
parent
a90bccca20
commit
872e508fc7
@ -3678,11 +3678,11 @@ The complete configuration for the ~exwm~ package can be found below.
|
|||||||
desktop-environment-brightness-small-increment "-inc 2"
|
desktop-environment-brightness-small-increment "-inc 2"
|
||||||
desktop-environment-brightness-small-decrement "-dec 2"
|
desktop-environment-brightness-small-decrement "-dec 2"
|
||||||
|
|
||||||
desktop-environment-volume-normal-decrement "5%-"
|
desktop-environment-volume-normal-decrement "-d 5"
|
||||||
desktop-environment-volume-normal-increment "5%+"
|
desktop-environment-volume-normal-increment "-i 5"
|
||||||
desktop-environment-volume-small-decrement "2%-"
|
desktop-environment-volume-small-decrement "-d 2"
|
||||||
desktop-environment-volume-small-increment "2%+"
|
desktop-environment-volume-small-increment "-i 2"
|
||||||
desktop-environment-volume-set-command "amixer -q Master %s unmute"
|
desktop-environment-volume-set-command "pamixer -u %s"
|
||||||
|
|
||||||
desktop-environment-screenshot-directory "~/Pictures/Screenshots"
|
desktop-environment-screenshot-directory "~/Pictures/Screenshots"
|
||||||
desktop-environment-screenlock-command "plock"
|
desktop-environment-screenlock-command "plock"
|
||||||
|
@ -1765,18 +1765,18 @@ so that they are immediately accessible. Again, this isn’t technically
|
|||||||
media-related, but I’ll add keybinds for my screen’s backlight.
|
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 pactl set-sink-volume @DEFAULT_SINK@ +2~ |
|
| ~XF86AudioRaiseVolume~ | ~exec pamixer -i 2~ |
|
||||||
| ~XF86AudioLowerVolume~ | ~exec pactl set-sink-volume @DEFAULT_SINK@ -2~ |
|
| ~XF86AudioLowerVolume~ | ~exec pamixer -d 2~ |
|
||||||
| ~XF86AudioMute~ | ~exec pactl set-sink-mute @DEFAULT_SINK@ toggle~ |
|
| ~XF86AudioMute~ | ~exec pamixer -t~ |
|
||||||
| ~XF86MonBrightnessDown~ | ~exec xbacklight -dec 2~ |
|
| ~XF86MonBrightnessDown~ | ~exec xbacklight -dec 2~ |
|
||||||
| ~XF86MonBrightnessUp~ | ~exec xbacklight -inc 2~ |
|
| ~XF86MonBrightnessUp~ | ~exec xbacklight -inc 2~ |
|
||||||
|
|
||||||
#+begin_src lisp
|
#+begin_src lisp
|
||||||
<<keybinds-gen(map="*top-map*", keybinds=media-top-level)>>
|
<<keybinds-gen(map="*top-map*", keybinds=media-top-level)>>
|
||||||
|
Loading…
Reference in New Issue
Block a user