Change volume key binding

master
Quentin Duchemin 2018-07-28 10:37:47 +02:00
parent f2546619c2
commit 49547358ae
1 changed files with 4 additions and 4 deletions

View File

@ -169,9 +169,9 @@ gaps inner 10
gaps outer 0 gaps outer 0
smart_gaps on smart_gaps on
#Volume keys # ALSA key binding (media keys do not even have keycode...)
bindsym XF86AudioRaiseVolume exec --no-startup-id amixer set 'Master' 5%+ bindsym KP_Add exec --no-startup-id amixer -D hw:PCH -M sset Master 5%+
bindsym XF86AudioLowerVolume exec --no-startup-id amixer set 'Master' 5%- bindsym KP_Subtract exec --no-startup-id amixer -D hw:PCH -M sset Master 5%-
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 playerctl play-pause bindsym XF86AudioPlay exec --no-startup-id playerctl play-pause
bindsym XF86AudioPrev exec --no-startup-ip playerctl prev bindsym XF86AudioPrev exec --no-startup-ip playerctl prev
@ -186,7 +186,7 @@ bindsym Mod4+Shift+e exec spacefm
exec --no-startup-id redshift-gtk exec --no-startup-id redshift-gtk
# Set ALSA initial volume # Set ALSA initial volume
exec-always --no-startup-id exec-always --no-startup-id amixer -D hw:PCH -M sset Master 50%
for_window [class="Claudia"] move container to workspace 4 for_window [class="Claudia"] move container to workspace 4
for_window [class="Cadence"] floating enable; move container to workspace 3 for_window [class="Cadence"] floating enable; move container to workspace 3