dotfiles/symlinks/config/sway/conf.d/02_wmkeybind

59 lines
1.4 KiB
Plaintext

# kill focused window
bindsym $mod+q kill
# Use Mouse+$mod to drag floating windows to their wanted position
floating_modifier $mod normal
# Reload the configuration file
bindsym $mod+Shift+c reload
# Change focus with arrow keys
bindsym $mod+Left focus left
bindsym $mod+Down focus down
bindsym $mod+Up focus up
bindsym $mod+Right focus right
# Change focus with vim keys
bindsym $mod+$left focus left
bindsym $mod+$down focus down
bindsym $mod+$up focus up
bindsym $mod+$right focus right
# Move around windows with arrow keys
bindsym $mod+Shift+Left move left
bindsym $mod+Shift+Down move down
bindsym $mod+Shift+Up move up
bindsym $mod+Shift+Right move right
# Move around windows with vim keys
bindsym $mod+Shift+$left move left
bindsym $mod+Shift+$down move down
bindsym $mod+Shift+$up move up
bindsym $mod+Shift+$right move right
# split in horizontal orientation
bindsym $mod+s split h
# split in vertical orientation
bindsym $mod+v split v
# enter fullscreen mode for the focused container
bindsym $mod+f fullscreen toggle
# toggle tiling / floating
bindsym $mod+Shift+backslash floating toggle
# change focus between tiling / floating windows
bindsym $mod+backslash focus mode_toggle
# focus the parent container
bindsym $mod+a focus parent
# Make the currently focused window a scratchpad
bindsym $mod+Shift+minus move scratchpad
# Show the first scratchpad window
bindsym $mod+minus scratchpad show
bindsym $mod+t layout toggle tabbed split