aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--examples/skhdrc23
1 files changed, 12 insertions, 11 deletions
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