bindsym $mod+Shift+1 move container to workspace 1
bindsym $mod+Shift+2 move container to workspace 2
bindsym $mod+Shift+3 move container to workspace 3
bindsym $mod+Shift+4 move container to workspace 4
bindsym $mod+Shift+5 move container to workspace 5
bindsym $mod+Shift+6 move container to workspace 6
bindsym $mod+Shift+7 move container to workspace 7
bindsym $mod+Shift+8 move container to workspace 8
bindsym $mod+Shift+9 move container to workspace 9
bindsym $mod+Shift+0 move container to workspace 10
# reload the configuration file
bindsym $mod+Shift+c reload
# restart i3 inplace (preserves your layout/session, can be used to upgrade i3)
bindsym $mod+Shift+r restart
# exit i3 (logs you out of your X session)
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'"
bindsym $mod+Shift+s exec "i3-nagbar -t warning -m 'You pressed the exit shortcut. Do you really want to shutdown i3?' -b 'Yes, exit i3' 'shutdown 0'"
bindsym $mod+Ctrl+r exec "i3-nagbar -t warning -m 'You pressed the exit shortcut. Do you really want to reboot i3?' -b 'Yes, exit i3' 'reboot'"
# resize window (you can also use the mouse for that)
mode "resize" {
# These bindings trigger as soon as you enter the resize mode
# Pressing left will shrink the window’s width.
# Pressing right will grow the window’s width.
# Pressing up will shrink the window’s height.
# Pressing down will grow the window’s height.
set $bigResize 12
bindsym h resize shrink width $bigResize px or $bigResize ppt
bindsym j resize grow height $bigResize px or $bigResize ppt
bindsym k resize shrink height $bigResize px or $bigResize ppt
bindsym l resize grow width $bigResize px or $bigResize ppt
# same bindings, but for the arrow keys
bindsym Left resize shrink width $bigResize px or $bigResize ppt
bindsym Down resize grow height $bigResize px or $bigResize ppt
bindsym Up resize shrink height $bigResize px or $bigResize ppt
bindsym Right resize grow width $bigResize px or $bigResize ppt
# With shift is small shifts
set $smallResize 2
bindsym Shift+h resize shrink width $smallResize px or $smallResize ppt
bindsym Shift+j resize grow height $smallResize px or $smallResize ppt
bindsym Shift+k resize shrink height $smallResize px or $smallResize ppt
bindsym Shift+l resize grow width $smallResize px or $smallResize ppt
# same bindings, but for the arrow keys
bindsym Shift+Left resize shrink width $smallResize px or $smallResize ppt
bindsym Shift+Down resize grow height $smallResize px or $smallResize ppt
bindsym Shift+Up resize shrink height $smallResize px or $smallResize ppt
bindsym Shift+Right resize grow width $smallResize px or $smallResize ppt
# back to normal: Enter or Escape
bindsym Return mode "default"
bindsym Escape mode "default"
}
bindsym $mod+r mode "resize"
# Start i3bar to display a workspace bar (plus the system information i3status