Add keyboard bindings for controlling music
Signed-off-by: Severin Kaderli <severin.kaderli@gmail.com>
This commit is contained in:
parent
29a9a1f3b4
commit
852125f448
1 changed files with 3 additions and 3 deletions
|
@ -143,9 +143,6 @@ bindsym $mod+Shift+r reload
|
|||
# Restart i3
|
||||
#bindsym $mod+Shift+r restart
|
||||
|
||||
# Logout from i3
|
||||
bindsym $mod+Shift+e exec "i3-nagbar -t warning -m 'You pressed the exit shortcut. Do you really want to exit i3? This will end your X session.' -b 'Yes, exit i3' 'i3-msg exit'"
|
||||
|
||||
# resize window (you can also use the mouse for that)
|
||||
mode "resize" {
|
||||
# These bindings trigger as soon as you enter the resize mode
|
||||
|
@ -192,8 +189,11 @@ bindsym $mod+KP_Subtract exec --no-startup-id pactl set-sink-volume 0 -5%
|
|||
|
||||
# Music controls
|
||||
bindsym XF86AudioPlay exec --no-startup-id cmus-remote -u
|
||||
bindsym $mod+KP_Enter exec --no-startup-id cmus-remote -u
|
||||
bindsym XF86AudioNext exec --no-startup-id cmus-remote -n
|
||||
bindsym $mod+Control+Right exec --no-startup-id cmus-remote -n
|
||||
bindsym XF86AudioPrev exec --no-startup-id cmus-remote -r
|
||||
bindsym $mod+Control+Left exec --no-startup-id cmus-remote -r
|
||||
|
||||
# Moving workspaces to other displays
|
||||
bindsym $mod+$alt+Left move workspace to output left
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue