i3: add modifier to change volume
parent
ac49cde9a0
commit
5df053eb7d
|
@ -1,6 +1,7 @@
|
|||
set $mod Mod4
|
||||
set $leftoutput DVI-I-1
|
||||
set $rightoutput VGA-1
|
||||
set $sink 0
|
||||
|
||||
font pango:monospace 8
|
||||
|
||||
|
@ -218,9 +219,13 @@ bindsym XF86HomePage workspace 2
|
|||
bindsym XF86Mail workspace 10
|
||||
|
||||
# Pulse Audio controls
|
||||
bindsym XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume 0 +5%
|
||||
bindsym XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume 0 -5%
|
||||
bindsym XF86AudioMute exec --no-startup-id pactl set-sink-mute 0 toggle
|
||||
bindsym XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume $sink +2%
|
||||
bindsym XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume $sink -2%
|
||||
|
||||
bindsym Shift+XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume $sink +5%
|
||||
bindsym Shift+XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume $sink -5%
|
||||
|
||||
bindsym XF86AudioMute exec --no-startup-id pactl set-sink-mute $sink toggle
|
||||
|
||||
# Media player controls
|
||||
bindsym XF86AudioPlay exec --no-startup-id mpc toggle
|
||||
|
|
Loading…
Reference in New Issue