mirror of
https://github.com/pgrondek/config.git
synced 2024-11-25 13:16:01 +00:00
[i3] Add config for media controls
This commit is contained in:
parent
56fe303b08
commit
204abc1ebd
11
i3/config
11
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
|
||||
|
Loading…
Reference in New Issue
Block a user