skynet/sway/config.d/03-keybindings

51 lines
1.8 KiB
Plaintext

bindsym $mod+Return exec $term
bindsym $mod+Space exec $menu
bindsym $mod+Backspace kill
bindsym $mod+Shift+c reload
bindsym $mod+Shift+x exit
bindsym $mod+o focus left
bindsym $mod+e focus down
bindsym $mod+period focus up
bindsym $mod+u focus right
bindsym $mod+Shift+o move left
bindsym $mod+Shift+e move down
bindsym $mod+Shift+period move up
bindsym $mod+Shift+u move right
bindsym $mod+1 workspace number 1
bindsym $mod+2 workspace number 2
bindsym $mod+3 workspace number 3
bindsym $mod+4 workspace number 4
bindsym $mod+5 workspace number 5
bindsym $mod+6 workspace number 6
bindsym $mod+7 workspace number 7
bindsym $mod+8 workspace number 8
bindsym $mod+9 workspace number 9
bindsym $mod+0 workspace number 10
bindsym $mod+F1 move container to workspace number 1
bindsym $mod+F2 move container to workspace number 2
bindsym $mod+F3 move container to workspace number 3
bindsym $mod+F4 move container to workspace number 4
bindsym $mod+F5 move container to workspace number 5
bindsym $mod+F6 move container to workspace number 6
bindsym $mod+F7 move container to workspace number 7
bindsym $mod+F8 move container to workspace number 8
bindsym $mod+F9 move container to workspace number 9
bindsym $mod+F10 move container to workspace number 10
bindsym $mod+f fullscreen
bindsym $mod+i splith
bindsym $mod+j splitv
bindsym XF86AudioRaiseVolume exec pamixer -i 5 && pamixer --get-volume > $wobpipe
bindsym XF86AudioLowerVolume exec pamixer -d 5 && pamixer --get-volume > $wobpipe
bindsym XF86AudioMute exec pamixer --toggle-mute && if [ "$(pamixer --get-mute)" = "true" ]; then echo 0 > $wobpipe; else pamixer --get-volume > $wobpipe; fi
bindsym XF86AudioPlay exec playerctl play-pause
bindsym Print exec grim -g "$(slurp)" - | swappy -f -
bindsym $mod+c exec clipman pick --tool=CUSTOM --tool-args="fuzzel -d"