sway: add mode to move workspace between outputs
This commit is contained in:
parent
64e549d533
commit
e6355b12ad
1 changed files with 14 additions and 3 deletions
17
config
17
config
|
@ -120,9 +120,6 @@ 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 the focused workspace to another monitor
|
||||
bindsym $mod+o move workspace to output right
|
||||
bindsym $mod+Shift+o move workspace to output left
|
||||
#
|
||||
# Resize
|
||||
#
|
||||
|
@ -298,8 +295,22 @@ mode "mark" {
|
|||
bindsym Return exec notify-send "mode: default"; mode "default"
|
||||
bindsym Escape exec notify-send "mode: default"; mode "default"
|
||||
}
|
||||
# Move the focused workspace to another monitor
|
||||
mode "move-workspace" {
|
||||
bindsym h move workspace to output left
|
||||
bindsym j move workspace to output down
|
||||
bindsym k move workspace to output up
|
||||
bindsym l move workspace to output right
|
||||
bindsym $mod+h focus left
|
||||
bindsym $mod+j focus down
|
||||
bindsym $mod+k focus up
|
||||
bindsym $mod+l focus right
|
||||
bindsym Return exec notify-send "mode: default"; mode "default"
|
||||
bindsym Escape exec notify-send "mode: default"; mode "default"
|
||||
}
|
||||
bindsym $mod+m exec notify-send "mode: move"; mode "move"
|
||||
bindsym $mod+Shift+a exec notify-send "mode: mark"; mode "mark"
|
||||
bindsym $mod+o exec notify-send "mode: move-workspace"; mode "move-workspace"
|
||||
|
||||
#
|
||||
# Window Rules:
|
||||
|
|
Loading…
Reference in a new issue