[ADD][I3] Finer-grained volume control

This commit is contained in:
Bruno BELANYI 2020-01-22 16:45:52 +01:00
parent 2b0a7deccc
commit aeef0b0ca8

View file

@ -298,6 +298,8 @@ bindsym --release Caps_Lock exec pkill -SIGRTMIN+11 i3blocks
# Bind volume control keys and signal i3blocks on update # Bind volume control keys and signal i3blocks on update
bindsym XF86AudioRaiseVolume exec amixer -q -D pulse sset Master 5%+ && pkill -RTMIN+10 i3blocks bindsym XF86AudioRaiseVolume exec amixer -q -D pulse sset Master 5%+ && pkill -RTMIN+10 i3blocks
bindsym XF86AudioLowerVolume exec amixer -q -D pulse sset Master 5%- && pkill -RTMIN+10 i3blocks bindsym XF86AudioLowerVolume exec amixer -q -D pulse sset Master 5%- && pkill -RTMIN+10 i3blocks
bindsym Shift+XF86AudioRaiseVolume exec amixer -q -D pulse sset Master 1%+ && pkill -RTMIN+10 i3blocks
bindsym Shift+XF86AudioLowerVolume exec amixer -q -D pulse sset Master 1%- && pkill -RTMIN+10 i3blocks
bindsym XF86AudioMute exec amixer -q -D pulse sset Master toggle && pkill -RTMIN+10 i3blocks bindsym XF86AudioMute exec amixer -q -D pulse sset Master toggle && pkill -RTMIN+10 i3blocks
# Bind keyboard settings key to toggle touchpad # Bind keyboard settings key to toggle touchpad
bindsym XF86Tools exec toggle-touchpad bindsym XF86Tools exec toggle-touchpad