From a099e583c7e63c61a06ac8b6b3f41a7140eee0cf Mon Sep 17 00:00:00 2001 From: Konstantin Koslowski Date: Fri, 29 Jul 2022 08:45:19 +0200 Subject: [PATCH] sway: improve move mode --- config | 38 +++++++++++++++++++------------------- 1 file changed, 19 insertions(+), 19 deletions(-) diff --git a/config b/config index 04ec510..8e1097d 100644 --- a/config +++ b/config @@ -254,26 +254,26 @@ mode "move" { bindsym Shift+$up move up 100px bindsym Shift+$right move right 100px # edges - bindsym q exec $move_cmd top-left - bindsym w exec $move_cmd top-center - bindsym e exec $move_cmd top-right - bindsym a exec $move_cmd center-left - bindsym s exec $move_cmd center-center - bindsym d exec $move_cmd center-right - bindsym z exec $move_cmd bottom-left - bindsym x exec $move_cmd bottom-center - bindsym c exec $move_cmd bottom-right + bindsym q [floating=True] exec $move_cmd top-left + bindsym w [floating=True] exec $move_cmd top-center + bindsym e [floating=True] exec $move_cmd top-right + bindsym a [floating=True] exec $move_cmd center-left + bindsym s [floating=True] exec $move_cmd center-center + bindsym d [floating=True] exec $move_cmd center-right + bindsym z [floating=True] exec $move_cmd bottom-left + bindsym x [floating=True] exec $move_cmd bottom-center + bindsym c [floating=True] exec $move_cmd bottom-right # resize presets - bindsym 1 resize set width 700; resize set height 390 - bindsym 2 resize set width 800; resize set height 450 - bindsym 3 resize set width 900; resize set height 510 - bindsym 4 resize set width 1000; resize set height 560 - bindsym 5 resize set width 1100; resize set height 620 - bindsym 6 resize set width 1200; resize set height 680 - bindsym 7 resize set width 1300; resize set height 730 - bindsym 8 resize set width 1400; resize set height 790 - bindsym 9 resize set width 1500; resize set height 840 - bindsym 0 resize set width 1600; resize set height 900 + bindsym 1 resize set width 25ppt; [floating=True] resize set width 600px height 360px + bindsym 2 resize set width 30ppt; [floating=True] resize set width 700px height 420px + bindsym 3 resize set width 35ppt; [floating=True] resize set width 800px height 480px + bindsym 4 resize set width 40ppt; [floating=True] resize set width 900px height 540px + bindsym 5 resize set width 45ppt; [floating=True] resize set width 1000px height 600px + bindsym 6 resize set width 50ppt; [floating=True] resize set width 1100px height 660px + bindsym 7 resize set width 55ppt; [floating=True] resize set width 1200px height 720px + bindsym 8 resize set width 60ppt; [floating=True] resize set width 1300px height 780px + bindsym 9 resize set width 70ppt; [floating=True] resize set width 1400px height 840px + bindsym 0 resize set width 80ppt; [floating=True] resize set width 1500px height 900px # focus bindsym $mod+h focus left bindsym $mod+j focus down