sway: Try using tab to swap containers instead of switching ws
It's more usable to have a master-layout like feeling where we swap position of focused windows with last in use.
This commit is contained in:
parent
8c36e586dc
commit
bb494c7f99
@ -71,6 +71,11 @@ bindsym $mod+Shift+$left move left
|
||||
bindsym $mod+Shift+$down move down
|
||||
bindsym $mod+Shift+$up move up
|
||||
bindsym $mod+Shift+$right move right
|
||||
|
||||
# Move window to other stacks
|
||||
bindsym $mod+Tab mark --add new_last ; [con_mark=last] mark --add focused ; swap container with mark last ; [con_mark=new_last] mark --add last ; [con_mark=focused] focus
|
||||
bindsym $mod+Shift+Tab mark last
|
||||
|
||||
#
|
||||
# Workspaces:
|
||||
#
|
||||
@ -85,8 +90,8 @@ bindsym $mod+7 workspace 7
|
||||
bindsym $mod+8 workspace 8
|
||||
bindsym $mod+9 workspace 9
|
||||
bindsym $mod+0 workspace 10
|
||||
bindsym $mod+Tab workspace next
|
||||
bindsym $mod+Shift+Tab workspace prev
|
||||
#bindsym $mod+Tab workspace next
|
||||
#bindsym $mod+Shift+Tab workspace prev
|
||||
# Move focused container to workspace
|
||||
bindsym $mod+Shift+1 move container to workspace 1
|
||||
bindsym $mod+Shift+2 move container to workspace 2
|
||||
|
||||
Loading…
Reference in New Issue
Block a user