Move keybindings to sxhkdrc

Signed-off-by: Severin Kaderli <severin@kaderli.dev>
This commit is contained in:
Severin Kaderli 2019-05-26 23:42:19 +02:00
parent 36842cf957
commit 31309eed6a
Signed by: severinkaderli
GPG key ID: F419F8835B72F0C4
4 changed files with 77 additions and 44 deletions

View file

@ -79,24 +79,9 @@ assign [class="Notable"] $workspace7
###############################################################################
# Keybindings #
###############################################################################
# Start a terminal
bindsym $mod+Return exec alacritty
# Kill focused window
bindsym $mod+Shift+q kill
# Open run menu
bindsym $mod+R exec rofi -show run -lines 5 -display-run Run
# Open game menu
bindsym $mod+G exec games
# Open power menu
bindsym $mod+F4 exec power
# Open screenshot menu
bindsym Print exec screenshot
# Change focus
bindsym $mod+Left focus left
bindsym $mod+H focus left
@ -193,29 +178,4 @@ bindsym Return mode "default"
bindsym Escape mode "default"
}
bindsym $mod+x mode "resize"
# Screen lock controls
bindsym XF86Sleep exec --no-startup-id screenlock
# Volume controls
bindsym XF86AudioMute exec --no-startup-id pamixer -t
bindsym $mod+m exec --no-startup-id pamixer -t
bindsym XF86AudioRaiseVolume exec --no-startup-id increase-volume
bindsym $mod+KP_Add exec --no-startup-id increase-volume
bindsym XF86AudioLowerVolume exec --no-startup-id pamixer -d 5 --allow-boost
bindsym $mod+KP_Subtract exec --no-startup-id pamixer -d 5 --allow-boost
# Brightness controls
bindsym XF86MonBrightnessUp exec --no-startup-id light -A 5
bindsym XF86MonBrightnessDown exec --no-startup-id light -U 5
# Music controls
bindsym XF86AudioStop exec --no-startup-id cmus-remote -s
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
bindsym $mod+x mode "resize"