Watch
1
0
Fork
You've already forked dotfiles
0

i3: add Neo-based keybindings for workspaces, containers and resize mode

This commit is contained in:
coderkun 2016-03-29 12:01:02 +02:00
commit 115f249dfb

View file

@ -33,11 +33,11 @@ bindsym $mod+Return exec i3-sensible-terminal
bindsym $mod+Shift+X kill
# start dmenu (a program launcher)
#bindsym $mod+a exec dmenu_run
bindsym $mod+a exec dmenu_run
# There also is the (new) i3-dmenu-desktop which only displays applications
# shipping a .desktop file. It is a wrapper around dmenu, so you need that
# installed.
bindsym $mod+a exec --no-startup-id i3-dmenu-desktop
#bindsym $mod+a exec --no-startup-id i3-dmenu-desktop
# change focus
bindsym $mod+n focus left
@ -100,6 +100,16 @@ bindsym $mod+7 workspace 7
bindsym $mod+8 workspace 8
bindsym $mod+9 workspace 9
bindsym $mod+0 workspace 10
bindsym $mod+mod3+KP_1 workspace 1
bindsym $mod+mod3+KP_2 workspace 2
bindsym $mod+mod3+KP_3 workspace 3
bindsym $mod+mod3+KP_4 workspace 4
bindsym $mod+mod3+KP_5 workspace 5
bindsym $mod+mod3+KP_6 workspace 6
bindsym $mod+mod3+KP_7 workspace 7
bindsym $mod+mod3+KP_8 workspace 8
bindsym $mod+mod3+KP_9 workspace 9
bindsym $mod+mod3+KP_0 workspace 10
# move focused container to workspace
bindsym $mod+Shift+1 move container to workspace 1
@ -112,12 +122,22 @@ 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
bindsym $mod+Shift+mod3+KP_1 move container to workspace 1
bindsym $mod+Shift+mod3+KP_2 move container to workspace 2
bindsym $mod+Shift+mod3+KP_3 move container to workspace 3
bindsym $mod+Shift+mod3+KP_4 move container to workspace 4
bindsym $mod+Shift+mod3+KP_5 move container to workspace 5
bindsym $mod+Shift+mod3+KP_6 move container to workspace 6
bindsym $mod+Shift+mod3+KP_7 move container to workspace 7
bindsym $mod+Shift+mod3+KP_8 move container to workspace 8
bindsym $mod+Shift+mod3+KP_9 move container to workspace 9
bindsym $mod+Shift+mod3+KP_0 move container to workspace 10
# multiple monitors
bindsym $mod+Shift+Q move workspace to output left
bindsym $mod+Shift+H move workspace to output left
bindsym $mod+Shift+G move container to output left
bindsym $mod+Shift+F move container to output right
bindsym $mod+Shift+H move workspace to output right
bindsym $mod+Shift+Q move workspace to output right
# reload the configuration file
bindsym $mod+Shift+adiaeresis reload
@ -147,7 +167,9 @@ mode "resize" {
# back to normal: Enter or Escape
bindsym Return mode "default"
bindsym mod3+Return mode "default"
bindsym Escape mode "default"
bindsym mod3+Escape mode "default"
}
bindsym $mod+c mode "resize"