summary refs log tree commit diff
path: root/.config/sway/binds.conf
diff options
context:
space:
mode:
authorRobert Günzler <r@gnzler.io>2020-04-29 23:38:05 +0200
committerRobert Günzler <r@gnzler.io>2020-04-29 23:38:05 +0200
commit76058dbd62cde20ccd7477a4fc922d1242283d3c (patch)
treeef58f8c6d7489d71e93a1e5b87ee61cd309970dd /.config/sway/binds.conf
parent5d5d2066094b3b71308d7839148fd0383702b766 (diff)
Add bin/centercon and sway bindings
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"