dotfiles

shared miscellaneous configuration files between my systems
git clone git://git.eonn.xyz/dotfiles.git
Log | Files | Refs

commit 4a17b5ac185d21c17009ae4ff62f84668097caff
parent d761086ed4ad30bc55b3dd62fbdfd734bae4204b
Author: iressa <ian@eonn.xyz>
Date:   Tue, 22 Feb 2022 09:53:45 -0500

adding simple bindings for volume keys

Diffstat:
M.stumpwm.d/init.lisp | 4++++
1 file changed, 4 insertions(+), 0 deletions(-)

diff --git a/.stumpwm.d/init.lisp b/.stumpwm.d/init.lisp @@ -31,3 +31,7 @@ (define-key *root-map* (kbd "SunPrint_Screen") "exec scrot -s ~/Pictures/screenshots/%Y-%m-%d$s.png") (define-key *top-map* (kbd "XF86MonBrightnessUp") "exec light -A 10") (define-key *top-map* (kbd "XF86MonBrightnessDown") "exec light -U 10") +(define-key *top-map* (kbd "XF86AudioMute") "exec pactl set-sink-mute 0 toggle") +(define-key *top-map* (kbd "XF86AudioLowerVolume") "exec pactl set-sink-volume 0 -5%") +(define-key *top-map* (kbd "XF86AudioRaiseVolume") "exec pactl set-sink-volume 0 +5%") +(define-key *top-map* (kbd "XF86AudioMicMute") "exec pactl set-source-mute 1 toggle")