[ADD][I3] Better multi-screen mappings

I did not use the `$mod+shift+ctrl` mapping to move floating windows very
much. So I repurposed it to move windows between screens. I can send
whole workspaces using `$mod+ctrl` instead.
This commit is contained in:
Bruno BELANYI 2020-06-13 16:49:54 +02:00
parent b8fe46a5dd
commit 90e8ca92fd

View file

@ -56,34 +56,44 @@ bindsym $mod+$left focus left
bindsym $mod+$down focus down bindsym $mod+$down focus down
bindsym $mod+$up focus up bindsym $mod+$up focus up
bindsym $mod+$right focus right bindsym $mod+$right 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
bindsym $mod+Up focus up bindsym $mod+Up focus up
bindsym $mod+Right focus right bindsym $mod+Right focus right
# Change screen for a given workspace
bindsym $mod+Control+$left move workspace to output left
bindsym $mod+Control+$down move workspace to output down
bindsym $mod+Control+$up move workspace to output up
bindsym $mod+Control+$right move workspace to output right
# Alternatively, you can use the cursor keys:
bindsym $mod+Control+Left move workspace to output left
bindsym $mod+Control+Down move workspace to output down
bindsym $mod+Control+Up move workspace to output up
bindsym $mod+Control+Right move workspace to output right
# Change screen for a given window
bindsym $mod+Control+Shift+$left move container to output left
bindsym $mod+Control+Shift+$down move container to output down
bindsym $mod+Control+Shift+$up move container to output up
bindsym $mod+Control+Shift+$right move container to output right
# Alternatively, you can use the cursor keys:
bindsym $mod+Control+Shift+Left move container to output left
bindsym $mod+Control+Shift+Down move container to output down
bindsym $mod+Control+Shift+Up move container to output up
bindsym $mod+Control+Shift+Right move container to output right
# Move focused window # Move focused window
bindsym $mod+Shift+$left move left 10 px bindsym $mod+Shift+$left move left 10 px
bindsym $mod+Shift+$down move down 10 px bindsym $mod+Shift+$down move down 10 px
bindsym $mod+Shift+$up move up 10 px bindsym $mod+Shift+$up move up 10 px
bindsym $mod+Shift+$right move right 10 px bindsym $mod+Shift+$right move right 10 px
# Use shift+ctrl to move by 50 px
bindsym $mod+Control+Shift+$left move left 50 px
bindsym $mod+Control+Shift+$down move down 50 px
bindsym $mod+Control+Shift+$up move up 50 px
bindsym $mod+Control+Shift+$right move right 50 px
# Alternatively, you can use the cursor keys: # Alternatively, you can use the cursor keys:
bindsym $mod+Shift+Left move left 10 px bindsym $mod+Shift+Left move left 10 px
bindsym $mod+Shift+Down move down 10 px bindsym $mod+Shift+Down move down 10 px
bindsym $mod+Shift+Up move up 10 px bindsym $mod+Shift+Up move up 10 px
bindsym $mod+Shift+Right move right 10 px bindsym $mod+Shift+Right move right 10 px
# Use shift+ctrl to move by 50 px
bindsym $mod+Control+Shift+Left move left 50 px
bindsym $mod+Control+Shift+Down move down 50 px
bindsym $mod+Control+Shift+Up move up 50 px
bindsym $mod+Control+Shift+Right move right 50 px
# Split in horizontal orientation # Split in horizontal orientation
bindsym $mod+g split h bindsym $mod+g split h