From aedcc5c015d2e1a17aac38c009e39aa25f24c101 Mon Sep 17 00:00:00 2001 From: koekeishiya Date: Tue, 19 Dec 2017 15:59:09 +0100 Subject: update sample config --- examples/skhdrc | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) (limited to 'examples') diff --git a/examples/skhdrc b/examples/skhdrc index f752f60..e6864e7 100644 --- a/examples/skhdrc +++ b/examples/skhdrc @@ -60,14 +60,14 @@ shift + cmd - j : chunkc tiling::window --warp south shift + cmd - k : chunkc tiling::window --warp north shift + cmd - l : chunkc tiling::window --warp east -# move floating windows / windows on a floating space -shift + alt - up : chunkc tiling::window --warp-floating fullscreen -shift + alt - left : chunkc tiling::window --warp-floating left -shift + alt - right : chunkc tiling::window --warp-floating right -shift + cmd - left : chunkc tiling::window --warp-floating top-left -shift + cmd - right : chunkc tiling::window --warp-floating top-right -shift + ctrl - left : chunkc tiling::window --warp-floating bottom-left -shift + ctrl - right : chunkc tiling::window --warp-floating bottom-right +# make floating window fill screen +shift + alt - up : chunkc tiling::window --grid-layout 1:1:0:0:1:1 + +# make floating window fill left-half of screen +shift + alt - left : chunkc tiling::window --grid-layout 1:2:0:0:1:1 + +# make floating window fill right-half of screen +shift + alt - right : chunkc tiling::window --grid-layout 1:2:1:0:1:1 # send window to desktop shift + alt - x : chunkc tiling::window --send-to-desktop $(chunkc get _last_active_desktop) @@ -137,12 +137,13 @@ alt - d : chunkc tiling::window --toggle parent # toggle window split type alt - e : chunkc tiling::window --toggle split -# float / unfloat window -alt - t : chunkc tiling::window --toggle float +# float / unfloat window and center on screen +alt - t : chunkc tiling::window --toggle float;\ + chunkc tiling::window --grid-layout 4:4:1:1:2:2 # toggle sticky, float and resize to picture-in-picture size alt - s : chunkc tiling::window --toggle sticky;\ - chunkc tiling::window --warp-floating pip-right + chunkc tiling::window --grid-layout 5:5:4:0:1:1 # float next window to be tiled shift + alt - t : chunkc set window_float_next 1 -- cgit v1.2.3