sway: add move + resize cmds
This commit is contained in:
parent
45a8ea14e5
commit
f68d52b17e
1 changed files with 15 additions and 21 deletions
36
config
36
config
|
@ -290,28 +290,22 @@ mode "move" {
|
|||
bindsym z exec $move_cmd bottom-left
|
||||
bindsym x exec $move_cmd bottom-center
|
||||
bindsym c exec $move_cmd bottom-right
|
||||
# edge + resize
|
||||
bindsym Shift+q exec $move_cmd top-left ; exec $resize_cmd 70
|
||||
bindsym Shift+w exec $move_cmd top-center ; exec $resize_cmd 70
|
||||
bindsym Shift+e exec $move_cmd top-right ; exec $resize_cmd 70
|
||||
bindsym Shift+a exec $move_cmd center-left ; exec $resize_cmd 60
|
||||
bindsym Shift+s exec $move_cmd center-center; exec $resize_cmd 60
|
||||
bindsym Shift+d exec $move_cmd center-right ; exec $resize_cmd 60
|
||||
bindsym Shift+z exec $move_cmd bottom-left ; exec $resize_cmd 80
|
||||
bindsym Shift+x exec $move_cmd bottom-center; exec $resize_cmd 80
|
||||
bindsym Shift+c exec $move_cmd bottom-right ; exec $resize_cmd 80
|
||||
# resize presets
|
||||
# bindsym -1 resize set width 600px height 360px
|
||||
# bindsym 0 resize set width 700px height 420px
|
||||
# bindsym 1 resize set width 800px height 480px
|
||||
# bindsym 2 resize set width 900px height 540px
|
||||
# bindsym 3 resize set width 1000px height 600px
|
||||
# bindsym 4 resize set width 1100px height 660px
|
||||
# bindsym 5 resize set width 1200px height 720px
|
||||
# bindsym 6 resize set width 1300px height 780px
|
||||
# bindsym 7 resize set width 1400px height 840px
|
||||
# bindsym 8 resize set width 1500px height 900px
|
||||
# bindsym 9 resize set width 1600px height 1040px
|
||||
# bindsym 0 resize set width 1700px height 1200px
|
||||
bindsym 1 exec $resize_cmd 10
|
||||
bindsym 2 exec $resize_cmd 20
|
||||
bindsym 3 exec $resize_cmd 30
|
||||
bindsym 4 exec $resize_cmd 40
|
||||
bindsym 5 exec $resize_cmd 50
|
||||
bindsym 6 exec $resize_cmd 60
|
||||
bindsym 7 exec $resize_cmd 70
|
||||
bindsym 8 exec $resize_cmd 80
|
||||
bindsym 9 exec $resize_cmd 90
|
||||
bindsym 1 exec $resize_cmd 20
|
||||
bindsym 2 exec $resize_cmd 40
|
||||
bindsym 3 exec $resize_cmd 50
|
||||
bindsym 4 exec $resize_cmd 60
|
||||
bindsym 5 exec $resize_cmd 80
|
||||
# focus
|
||||
bindsym $mod+h focus left
|
||||
bindsym $mod+j focus down
|
||||
|
|
Loading…
Reference in a new issue