summary refs log tree commit diff
path: root/.config/sway/binds.conf
diff options
context:
space:
mode:
Diffstat (limited to '.config/sway/binds.conf')
-rw-r--r--.config/sway/binds.conf10
1 files changed, 7 insertions, 3 deletions
diff --git a/.config/sway/binds.conf b/.config/sway/binds.conf
index e2e7197..4954de0 100644
--- a/.config/sway/binds.conf
+++ b/.config/sway/binds.conf
@@ -155,11 +155,15 @@ mode "layout" {
     
     # make a sticky container
     bindsym t sticky toggle; mode "default"; exec notify-send "container sticky'd"
-    bindsym Shift+t floating enable; sticky enable; exec centercon 0.3 tr; mode "default"
+    bindsym Shift+t \
+        floating enable; \
+        sticky enable; \
+        exec sh -c 'centercon -w 0.3 tr && swaymsg move left 10px && swaymsg move down 10px && swaymsg focus mode_toggle'; \
+        mode "default"
 
     # make a centered container
-    bindsym c exec centercon; mode "default"
-    bindsym Shift+c exec centercon 0.5; mode "default"
+    bindsym c exec centercon 1.0; mode "default"
+    bindsym Shift+c exec centercon -w 0.5; mode "default"
 
     # return to default mode
     bindsym Return mode "default"