1
0

FEAT: Adding volume Controls

This commit is contained in:
2024-04-14 15:34:28 +02:00
parent 04790c48d6
commit 7c7b647b0a
2 changed files with 21 additions and 1 deletions

View File

@ -201,4 +201,15 @@ client.unfocused #b38a5b #b38a5b #CCCCCC #8c5831 #7c2c09
client.background #FFFFFF
# Volume and brightness controls
bindsym XF86AudioPlay exec playerctl play-pause
bindsym XF86AudioPause exec playerctl play-pause
bindsym XF86AudioNext exec playerctl next
bindsym XF86AudioPrev exec playerctl previous
bindsym XF86MonBrightnessUp exec xbacklight -inc 20 # increase screen brightness
bindsym XF86MonBrightnessDown exec xbacklight -dec 20 # decrease screen brightness
bindsym XF86AudioRaiseVolume exec pactl set-sink-volume @DEFAULT_SINK@ +5% # raise volume
bindsym XF86AudioLowerVolume exec pactl set-sink-volume @DEFAULT_SINK@ -5% # lower volume
bindsym XF86AudioMute exec pactl set-sink-mute @DEFAULT_SINK@ toggle # toggle mute for default device
# use i3lock-fancy
bindsym $mod-z exec i3lock-fancy