Cleanup/rearrange some sections

This commit is contained in:
Adam Goldsmith 2018-03-23 15:09:07 -04:00
parent 707afc2cb9
commit 9ee4dc0bad

View File

@ -199,6 +199,17 @@ bindsym $mod+8 workspace number 8
bindsym $mod+9 workspace number 9
bindsym $mod+0 workspace number 10
bindsym $mod+Mod1+1 workspace number 11
bindsym $mod+Mod1+2 workspace number 12
bindsym $mod+Mod1+3 workspace number 13
bindsym $mod+Mod1+4 workspace number 14
bindsym $mod+Mod1+5 workspace number 15
bindsym $mod+Mod1+6 workspace number 16
bindsym $mod+Mod1+7 workspace number 17
bindsym $mod+Mod1+8 workspace number 18
bindsym $mod+Mod1+9 workspace number 19
bindsym $mod+Mod1+0 workspace number 20
# move focused container to workspace
bindsym $mod+Shift+1 move container to workspace number 1
bindsym $mod+Shift+2 move container to workspace number 2
@ -211,19 +222,6 @@ bindsym $mod+Shift+8 move container to workspace number 8
bindsym $mod+Shift+9 move container to workspace number 9
bindsym $mod+Shift+0 move container to workspace number 10
# switch to workspace set 2
bindsym $mod+Mod1+1 workspace number 11
bindsym $mod+Mod1+2 workspace number 12
bindsym $mod+Mod1+3 workspace number 13
bindsym $mod+Mod1+4 workspace number 14
bindsym $mod+Mod1+5 workspace number 15
bindsym $mod+Mod1+6 workspace number 16
bindsym $mod+Mod1+7 workspace number 17
bindsym $mod+Mod1+8 workspace number 18
bindsym $mod+Mod1+9 workspace number 19
bindsym $mod+Mod1+0 workspace number 20
# move focused container to workspace set 2
bindsym $mod+Mod1+Shift+1 move container to workspace number 11
bindsym $mod+Mod1+Shift+2 move container to workspace number 12
bindsym $mod+Mod1+Shift+3 move container to workspace number 13
@ -240,39 +238,22 @@ bindsym $mod+Mod1+Shift+0 move container to workspace number 20
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'"
# resize window
mode "resize" {
# These bindings trigger as soon as you enter the resize mode
# Pressing left will shrink the windows width.
# Pressing right will grow the windows width.
# Pressing up will shrink the windows height.
# Pressing down will grow the windows height.
bindsym h resize shrink width 10 px or 10 ppt
bindsym Left resize shrink width 10 px or 10 ppt
bindsym j resize grow height 10 px or 10 ppt
bindsym Down resize grow height 10 px or 10 ppt
bindsym k resize shrink height 10 px or 10 ppt
bindsym Up resize shrink height 10 px or 10 ppt
bindsym l resize grow width 10 px or 10 ppt
bindsym Right resize grow width 10 px or 10 ppt
bindsym c exec --no-startup-id $config_dir/compact_workspace_numbers.py; mode "default"
# same bindings, but for the arrow keys
bindsym Left resize shrink width 10 px or 10 ppt
bindsym Down resize grow height 10 px or 10 ppt
bindsym Up resize shrink height 10 px or 10 ppt
bindsym Right resize grow width 10 px or 10 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
# finds out, if available)
#bar {
# status_command i3status
#}