bindsym Shift+Left resize shrink width 50 px or 50 ppt
bindsym Shift+Down resize grow height 50 px or 50 ppt
bindsym Shift+Up resize shrink height 50 px or 50 ppt
bindsym Shift+Right resize grow width 50 px or 50 ppt
# back to normal: Enter or Escape or $mod+r
bindsym Return mode "default"
bindsym Escape mode "default"
bindsym $winkey+r mode "default"
}
bindsym $winkey+r mode "resize"
# ==========
# Workspaces
# ==========
# Define names for default workspaces for which we configure key bindings later on.
set $ws1 "1"
set $ws2 "2"
set $ws3 "3"
set $ws4 "4"
set $ws5 "5"
set $ws6 "6"
set $ws7 "7"
set $ws8 "8"
set $ws9 "9"
set $ws10 "10"
# switch to workspace
bindsym $winkey+ampersand workspace number $ws1
bindsym $winkey+eacute workspace number $ws2
bindsym $winkey+quotedbl workspace number $ws3
bindsym $winkey+apostrophe workspace number $ws4
bindsym $winkey+parenleft workspace number $ws5
bindsym $winkey+section workspace number $ws6
bindsym $winkey+egrave workspace number $ws7
bindsym $winkey+exclam workspace number $ws8
bindsym $winkey+ccedilla workspace number $ws9
bindsym $winkey+agrave workspace number $ws10
bindsym $winkey+Control+Right workspace next
bindsym $winkey+Control+Left workspace prev
# move focused container to workspace
bindsym $winkey+Shift+ampersand move container to workspace number $ws1; \
workspace number $ws1
bindsym $winkey+Shift+eacute move container to workspace number $ws2; \
workspace number $ws2
bindsym $winkey+Shift+quotedbl move container to workspace number $ws3; \
workspace number $ws3
bindsym $winkey+Shift+apostrophe move container to workspace number $ws4; \
workspace number $ws4
bindsym $winkey+Shift+5 move container to workspace number $ws5; \
workspace number $ws5
bindsym $winkey+Shift+section move container to workspace number $ws6; \
workspace number $ws6
bindsym $winkey+Shift+egrave move container to workspace number $ws7; \
workspace number $ws7
bindsym $winkey+Shift+exclam move container to workspace number $ws8; \
workspace number $ws8
bindsym $winkey+Shift+ccedilla move container to workspace number $ws9; \
workspace number $ws9
bindsym $winkey+Shift+agrave move container to workspace number $ws10; \
workspace number $ws10
bindsym $winkey+Control+Shift+Right move container to workspace next; workspace next
bindsym $winkey+Control+Shift+Left move container to workspace prev; workspace prev
# ==============
# System Control
# ==============
# Reload the configuration file
bindsym $alt+Shift+c reload
# Restart i3 inplace (preserves your layout/session, can be used to upgrade i3)
bindsym $alt+Shift+r restart
# Exit i3 (logs you out of your X session)
bindsym $alt+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'"