Remove mouse-based window swapping, as i3 v4.24 now has it built-in
This commit is contained in:
parent
783f7d5005
commit
1eab5f4ff0
@ -216,19 +216,8 @@ bindsym $mod+z focus child
|
|||||||
|
|
||||||
bindsym $mod+Tab workspace back_and_forth
|
bindsym $mod+Tab workspace back_and_forth
|
||||||
|
|
||||||
# Window swapping
|
# Keyboard bindings for swapping windows (can't nicely use a binding
|
||||||
mode "swap-dest" {
|
# mode, since it would would have to rebind all movement commands)
|
||||||
set $swp_cmd swap container with mark quickswap; [con_mark="quickswap"] focus; unmark quickswap; mode default
|
|
||||||
bindsym --whole-window button1 $swp_cmd
|
|
||||||
bindsym --whole-window $mod+Shift+button1 $swp_cmd
|
|
||||||
|
|
||||||
set $cancel_cmd unmark quickswap; mode "default"
|
|
||||||
bindsym Return $cancel_cmd
|
|
||||||
bindsym Escape $cancel_cmd
|
|
||||||
}
|
|
||||||
bindsym --whole-window $mod+Shift+button1 mark --add quickswap; mode "swap-dest"
|
|
||||||
|
|
||||||
# Keyboard only bindings (can't use binding mode, since would have to rebind all movement commands
|
|
||||||
bindsym $mod+Mod1+comma mark --add quickswap
|
bindsym $mod+Mod1+comma mark --add quickswap
|
||||||
bindsym $mod+comma swap container with mark quickswap; [con_mark="quickswap"] focus; unmark quickswap
|
bindsym $mod+comma swap container with mark quickswap; [con_mark="quickswap"] focus; unmark quickswap
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user