i3: Add Ctrl modifier to volume keys

Ctrl+VolumeKeys now modify the volume by 10%.
VolumeKeys now change the volume by 1% instead of 2%.

Signed-off-by: Tobias Manske <tobias.manske@mailbox.org>
This commit is contained in:
Tobias Manske 2018-10-11 22:01:11 +02:00
parent 01494dee96
commit 83fc6ea98a
No known key found for this signature in database
GPG Key ID: 978D99F12D4E041F

View File

@ -126,15 +126,18 @@ floating_modifier $mod
bindsym F1 [instance="dropdown"] scratchpad show; [instance="dropdown"] move position center bindsym F1 [instance="dropdown"] scratchpad show; [instance="dropdown"] move position center
# Ranger Terminal # Ranger Terminal
bindsym F2 exec "urxvt -name ranger -e ranger" bindsym $mod+F2 exec "urxvt -name ranger -e ranger"
# Urgent window # Urgent window
bindsym $mod+x [urgent=latest] focus bindsym $mod+x [urgent=latest] focus
# MEDIA KEYS # MEDIA KEYS
bindsym XF86AudioRaiseVolume exec --no-startup-id amixer set Master 2%+ bindsym XF86AudioRaiseVolume exec --no-startup-id amixer set Master 1%+
bindsym XF86AudioLowerVolume exec --no-startup-id amixer set Master 2%- bindsym XF86AudioLowerVolume exec --no-startup-id amixer set Master 1%-
bindsym Ctrl+XF86AudioRaiseVolume exec --no-startup-id amixer set Master 10%+
bindsym Ctrl+XF86AudioLowerVolume exec --no-startup-id amixer set Master 10%-
bindsym XF86AudioMute exec --no-startup-id amixer set Master toggle bindsym XF86AudioMute exec --no-startup-id amixer set Master toggle
bindsym XF86AudioPlay exec --no-startup-id mpc toggle bindsym XF86AudioPlay exec --no-startup-id mpc toggle
bindsym XF86AudioNext exec --no-startup-id mpc next bindsym XF86AudioNext exec --no-startup-id mpc next