aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkoekeishiya <aasvi93@hotmail.com>2018-07-10 14:43:13 +0200
committerkoekeishiya <aasvi93@hotmail.com>2018-07-10 14:43:13 +0200
commit2804aa714970975632ffaab9eb9a58a6f1ecaeae (patch)
tree053e8525c56b08bfe8f21f6d8be2173dd23c878e
parent54b7f52ec0bd932e66c7f31de0899c79ea463124 (diff)
downloadskhd-2804aa714970975632ffaab9eb9a58a6f1ecaeae.tar.gz
skhd-2804aa714970975632ffaab9eb9a58a6f1ecaeae.zip
update sample
-rw-r--r--examples/skhdrc21
1 files changed, 20 insertions, 1 deletions
diff --git a/examples/skhdrc b/examples/skhdrc
index 83b4ef0..c7658c2 100644
--- a/examples/skhdrc
+++ b/examples/skhdrc
@@ -75,6 +75,9 @@ cmd - return : /Applications/Kitty.app/Contents/MacOS/kitty --single-instance -d
# open qutebrowser
cmd + shift - return : ~/Scripts/qtb.sh
+# open mpv
+cmd - m : open -na /Applications/mpv.app $(pbpaste)
+
# close focused window
alt - w : chunkc tiling::window --close
@@ -111,6 +114,19 @@ 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
+# create desktop, move window and follow focus
+shift + cmd - n : chunkc tiling::desktop --create;\
+ id=$(chunkc tiling::query --desktops-for-monitor $(chunkc tiling::query --monitor-for-desktop $(chunkc tiling::query --desktop id)));\
+ chunkc tiling::window --send-to-desktop $(echo ${id##* });\
+ chunkc tiling::desktop --focus $(echo ${id##* })
+
+# create desktop and follow focus
+cmd + alt - n : chunkc tiling::desktop --create;\
+ id=$(chunkc tiling::query --desktops-for-monitor $(chunkc tiling::query --monitor-for-desktop $(chunkc tiling::query --desktop id)));\
+ chunkc tiling::desktop --focus $(echo ${id##* })
+# destroy desktop
+cmd + alt - w : chunkc tiling::desktop --annihilate
+
# fast focus desktop
cmd + alt - x : chunkc tiling::desktop --focus $(chunkc get _last_active_desktop)
cmd + alt - z : chunkc tiling::desktop --focus prev
@@ -211,8 +227,11 @@ alt - q : chunkc tiling::window --toggle fade
alt - t : chunkc tiling::window --toggle float;\
chunkc tiling::window --grid-layout 4:4:1:1:2:2
+# toggle sticky
+alt - s : chunkc tiling::window --toggle sticky
+
# toggle sticky, float and resize to picture-in-picture size
-alt - s : chunkc tiling::window --toggle sticky;\
+alt - p : chunkc tiling::window --toggle sticky;\
chunkc tiling::window --grid-layout 5:5:4:0:1:1
# float next window to be tiled