Add bindings for keyboard media controls
Signed-off-by: Severin Kaderli <severin.kaderli@gmail.com>
This commit is contained in:
parent
a5b5d6382f
commit
e556d73d75
1 changed files with 7 additions and 5 deletions
|
@ -180,15 +180,17 @@ bar {
|
||||||
###
|
###
|
||||||
# Lock the screen
|
# Lock the screen
|
||||||
bindsym $mod+l exec ~/bin/screenlock.sh
|
bindsym $mod+l exec ~/bin/screenlock.sh
|
||||||
|
bindsym XF86Sleep exec --no-startup-id ~/bin/screenlock.sh
|
||||||
|
|
||||||
# Volume changing
|
# Volume changing
|
||||||
bindsym $mod+KP_Add exec pactl set-sink-volume 0 +5%
|
bindsym XF86AudioMute exec --no-startup-id pactl set-sink-mute 0 toggle
|
||||||
bindsym $mod+KP_Subtract exec pactl set-sink-volume 0 -5%
|
bindsym XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume 0 +5%
|
||||||
|
bindsym XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume 0 -5%
|
||||||
|
|
||||||
# Music controls
|
# Music controls
|
||||||
bindsym $mod+KP_Enter exec cmus-remote -u
|
bindsym XF86AudioPlay exec --no-startup-id cmus-remote -u
|
||||||
bindsym $mod+Ctrl+Right exec cmus-remote -n
|
bindsym XF86AudioNext exec --no-startup-id cmus-remote -n
|
||||||
bindsym $mod+Ctrl+Left exec cmus-remote -r
|
bindsym XF86AudioPrev exec --no-startup-id cmus-remote -r
|
||||||
|
|
||||||
# Moving workspaces to other displays
|
# Moving workspaces to other displays
|
||||||
bindsym $mod+$alt+Left move workspace to output left
|
bindsym $mod+$alt+Left move workspace to output left
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue