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.conf4
1 files changed, 4 insertions, 0 deletions
diff --git a/.config/sway/binds.conf b/.config/sway/binds.conf
index 6a9120f..7ad9f2d 100644
--- a/.config/sway/binds.conf
+++ b/.config/sway/binds.conf
@@ -132,6 +132,10 @@ mode "layout" {
     bindsym t sticky toggle; mode "default"; exec notify-send "container sticky'd"
     bindsym Shift+t floating enable; sticky enable; resize set 853; move position 1695 px -300 px; mode "default"
 
+    # make a centered container
+    bindsym c exec centercon; mode "default"
+    bindsym Shift+c exec centercon 0.5; mode "default"
+
     # return to default mode
     bindsym Return mode "default"
     bindsym Escape mode "default"