diff --git a/i3/config b/i3/config index 0d596c8..ca556c6 100644 --- a/i3/config +++ b/i3/config @@ -224,6 +224,17 @@ exec --no-startup-id /usr/lib/policykit-1-gnome/polkit-gnome-authentication-agen # autolock 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 bindsym Mod4+F1 exec firefox bindsym Mod4+F2 exec nautilus