sway: improve move mode

This commit is contained in:
Konstantin Koslowski 2022-07-29 08:45:19 +02:00 committed by Konstantin Koslowski
parent 463fd664fc
commit a099e583c7

38
config
View file

@ -254,26 +254,26 @@ mode "move" {
bindsym Shift+$up move up 100px bindsym Shift+$up move up 100px
bindsym Shift+$right move right 100px bindsym Shift+$right move right 100px
# edges # edges
bindsym q exec $move_cmd top-left bindsym q [floating=True] exec $move_cmd top-left
bindsym w exec $move_cmd top-center bindsym w [floating=True] exec $move_cmd top-center
bindsym e exec $move_cmd top-right bindsym e [floating=True] exec $move_cmd top-right
bindsym a exec $move_cmd center-left bindsym a [floating=True] exec $move_cmd center-left
bindsym s exec $move_cmd center-center bindsym s [floating=True] exec $move_cmd center-center
bindsym d exec $move_cmd center-right bindsym d [floating=True] exec $move_cmd center-right
bindsym z exec $move_cmd bottom-left bindsym z [floating=True] exec $move_cmd bottom-left
bindsym x exec $move_cmd bottom-center bindsym x [floating=True] exec $move_cmd bottom-center
bindsym c exec $move_cmd bottom-right bindsym c [floating=True] exec $move_cmd bottom-right
# resize presets # resize presets
bindsym 1 resize set width 700; resize set height 390 bindsym 1 resize set width 25ppt; [floating=True] resize set width 600px height 360px
bindsym 2 resize set width 800; resize set height 450 bindsym 2 resize set width 30ppt; [floating=True] resize set width 700px height 420px
bindsym 3 resize set width 900; resize set height 510 bindsym 3 resize set width 35ppt; [floating=True] resize set width 800px height 480px
bindsym 4 resize set width 1000; resize set height 560 bindsym 4 resize set width 40ppt; [floating=True] resize set width 900px height 540px
bindsym 5 resize set width 1100; resize set height 620 bindsym 5 resize set width 45ppt; [floating=True] resize set width 1000px height 600px
bindsym 6 resize set width 1200; resize set height 680 bindsym 6 resize set width 50ppt; [floating=True] resize set width 1100px height 660px
bindsym 7 resize set width 1300; resize set height 730 bindsym 7 resize set width 55ppt; [floating=True] resize set width 1200px height 720px
bindsym 8 resize set width 1400; resize set height 790 bindsym 8 resize set width 60ppt; [floating=True] resize set width 1300px height 780px
bindsym 9 resize set width 1500; resize set height 840 bindsym 9 resize set width 70ppt; [floating=True] resize set width 1400px height 840px
bindsym 0 resize set width 1600; resize set height 900 bindsym 0 resize set width 80ppt; [floating=True] resize set width 1500px height 900px
# focus # focus
bindsym $mod+h focus left bindsym $mod+h focus left
bindsym $mod+j focus down bindsym $mod+j focus down