From 76058dbd62cde20ccd7477a4fc922d1242283d3c Mon Sep 17 00:00:00 2001 From: Robert Günzler Date: Wed, 29 Apr 2020 23:38:05 +0200 Subject: Add bin/centercon and sway bindings --- .config/sway/binds.conf | 4 ++++ 1 file changed, 4 insertions(+) (limited to '.config') 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" -- cgit 1.4.1