1
0
mirror of https://github.com/pgrondek/config.git synced 2024-11-29 06:53:13 +00:00

[i3] Add config for media controls

This commit is contained in:
Przemysław Grondek 2019-11-19 10:21:59 +01:00
parent 56fe303b08
commit 204abc1ebd

View File

@ -224,6 +224,17 @@ exec --no-startup-id /usr/lib/policykit-1-gnome/polkit-gnome-authentication-agen
# autolock # autolock
exec xautolock -time 5 -locker ~/bin/lock -notify 10 exec xautolock -time 5 -locker ~/bin/lock -notify 10
# Pulse Audio controls
bindsym XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume 0 +5% #increase sound volume
bindsym XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume 0 -5% #decrease sound volume
bindsym XF86AudioMute exec --no-startup-id pactl set-sink-mute 0 toggle # mute sound
# Media player controls
bindsym XF86AudioPlay exec playerctl play
bindsym XF86AudioPause exec playerctl pause
bindsym XF86AudioNext exec playerctl next
bindsym XF86AudioPrev exec playerctl previous
# Shortcuts # Shortcuts
bindsym Mod4+F1 exec firefox bindsym Mod4+F1 exec firefox
bindsym Mod4+F2 exec nautilus bindsym Mod4+F2 exec nautilus