Improve i3 multiple outputs management

This commit is contained in:
Pierre Martin
2015-09-29 13:55:37 +02:00
parent 590bd5d0a5
commit 3b7fc5a4aa

37
i3.base
View File

@@ -39,12 +39,6 @@ bindsym $mod+d exec dmenu_run
# installed. # installed.
# bindsym $mod+d exec --no-startup-id i3-dmenu-desktop # bindsym $mod+d exec --no-startup-id i3-dmenu-desktop
# change focus
bindsym $mod+j focus left
bindsym $mod+k focus down
bindsym $mod+l focus up
bindsym $mod+m focus right
# alternatively, you can use the cursor keys: # alternatively, you can use the cursor keys:
bindsym $mod+Left focus left bindsym $mod+Left focus left
bindsym $mod+Down focus down bindsym $mod+Down focus down
@@ -84,21 +78,28 @@ bindsym $mod+a focus parent
#bindsym $mod+d focus child #bindsym $mod+d focus child
# switch to workspace # switch to workspace
bindsym $mod+1 workspace 1 bindsym $mod+1 workspace number 1
bindsym $mod+2 workspace 2 bindsym $mod+2 workspace number 2
bindsym $mod+3 workspace 3 bindsym $mod+3 workspace number 3
bindsym $mod+4 workspace 4 bindsym $mod+4 workspace number 4
bindsym $mod+5 workspace 5 bindsym $mod+5 workspace number 5
bindsym $mod+6 workspace 6 bindsym $mod+6 workspace number 6
bindsym $mod+7 workspace 7 bindsym $mod+7 workspace number 7
bindsym $mod+8 workspace 8 bindsym $mod+8 workspace number 8
bindsym $mod+9 workspace 9 bindsym $mod+9 workspace number 9
bindsym $mod+0 workspace 10 bindsym $mod+0 workspace number 10
# See https://faq.i3wm.org/question/2332/flexible-monitor-setup/?answer=3557#post-id-3557
bindsym $mod+Control+r exec i3-input -F 'rename workspace to "%s"' -P 'New name: '
# Back and forth # Back and forth
bindsym $mod+Tab workspace back_and_forth bindsym $mod+Tab workspace back_and_forth
bindsym $mod+Shift+j workspace next_on_output bindsym $mod+Shift+j workspace prev_on_output
bindsym $mod+Shift+k workspace prev_on_output bindsym $mod+Shift+k workspace next_on_output
# move workspaces between outputs
bindsym $mod+Control+Left move workspace to output left
bindsym $mod+Control+Right move workspace to output right
# move focused container to workspace # move focused container to workspace
bindsym $mod+Shift+1 move container to workspace 1 bindsym $mod+Shift+1 move container to workspace 1