sway: Add move mode bindings
This commit is contained in:
parent
74d28e370f
commit
21a5731bfd
1 changed files with 17 additions and 0 deletions
17
sway/config
17
sway/config
|
|
@ -125,6 +125,23 @@ mode "resize" {
|
||||||
}
|
}
|
||||||
bindsym $super+r mode "resize"
|
bindsym $super+r mode "resize"
|
||||||
|
|
||||||
|
mode "move" {
|
||||||
|
bindsym $left move left 10px
|
||||||
|
bindsym $down move down 10px
|
||||||
|
bindsym $up move up 10px
|
||||||
|
bindsym $right move right 10px
|
||||||
|
|
||||||
|
bindsym Left move left 10px
|
||||||
|
bindsym Down move down 10px
|
||||||
|
bindsym Up move up 10px
|
||||||
|
bindsym Right move right 10px
|
||||||
|
|
||||||
|
# Return to default mode
|
||||||
|
bindsym Return mode "default"
|
||||||
|
bindsym Escape mode "default"
|
||||||
|
}
|
||||||
|
bindsym $super+m mode "move"
|
||||||
|
|
||||||
bar {
|
bar {
|
||||||
swaybar_command waybar
|
swaybar_command waybar
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue