From 36dad21c7266e6a9db78630dac8b8446a67c71f9 Mon Sep 17 00:00:00 2001 From: koekeishiya Date: Mon, 1 May 2023 18:38:39 +0200 Subject: remove chunkwm from sample config; launchd sample plist replaced by service integration launch arguments --- examples/com.koekeishiya.skhd.plist | 25 ------ examples/skhdrc | 164 +----------------------------------- 2 files changed, 2 insertions(+), 187 deletions(-) delete mode 100644 examples/com.koekeishiya.skhd.plist (limited to 'examples') diff --git a/examples/com.koekeishiya.skhd.plist b/examples/com.koekeishiya.skhd.plist deleted file mode 100644 index d00e3df..0000000 --- a/examples/com.koekeishiya.skhd.plist +++ /dev/null @@ -1,25 +0,0 @@ - - - - - Label - com.koekeishiya.skhd - ProgramArguments - - /usr/local/bin/skhd - - EnvironmentVariables - - PATH - /usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin - - RunAtLoad - - KeepAlive - - StandardOutPath - /tmp/skhd.out - StandardErrorPath - /tmp/skhd.err - - diff --git a/examples/skhdrc b/examples/skhdrc index b631aab..28e99fe 100644 --- a/examples/skhdrc +++ b/examples/skhdrc @@ -66,10 +66,10 @@ # an EOL character signifies the end of the bind. # add an on_enter command to the default mode -# :: default : chunkc border::color 0xff775759 +# :: default : yabai -m config active_window_border_color 0xff775759 # # defines a new mode 'test' with an on_enter command, that captures keypresses -# :: test @ : chunkc border::color 0xff24ccaa +# :: test @ : yabai -m config active_window_border_color 0xff24ccaa # # from 'default' mode, activate mode 'test' # cmd - x ; test @@ -113,163 +113,3 @@ 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 - -# focus window -alt - h : chunkc tiling::window --focus west -alt - j : chunkc tiling::window --focus south -alt - k : chunkc tiling::window --focus north -alt - l : chunkc tiling::window --focus east - -cmd - j : chunkc tiling::window --focus prev -cmd - k : chunkc tiling::window --focus next - -# equalize size of windows -shift + alt - 0 : chunkc tiling::desktop --equalize - -# swap window -shift + alt - h : chunkc tiling::window --swap west -shift + alt - j : chunkc tiling::window --swap south -shift + alt - k : chunkc tiling::window --swap north -shift + alt - l : chunkc tiling::window --swap east - -# move window -shift + cmd - h : chunkc tiling::window --warp west -shift + cmd - j : chunkc tiling::window --warp south -shift + cmd - k : chunkc tiling::window --warp north -shift + cmd - l : chunkc tiling::window --warp east - -# 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 - -# 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 -cmd + alt - c : chunkc tiling::desktop --focus next -cmd + alt - 1 : chunkc tiling::desktop --focus 1 -cmd + alt - 2 : chunkc tiling::desktop --focus 2 -cmd + alt - 3 : chunkc tiling::desktop --focus 3 -cmd + alt - 4 : chunkc tiling::desktop --focus 4 -cmd + alt - 5 : chunkc tiling::desktop --focus 5 -cmd + alt - 6 : chunkc tiling::desktop --focus 6 -cmd + alt - 7 : chunkc tiling::desktop --focus 7 -cmd + alt - 8 : chunkc tiling::desktop --focus 8 -cmd + alt - 9 : chunkc tiling::desktop --focus 9 -cmd + alt - 0 : chunkc tiling::desktop --focus 10 - -# send window to desktop and follow focus -shift + cmd - x : chunkc tiling::window --send-to-desktop $(chunkc get _last_active_desktop); chunkc tiling::desktop --focus $(chunkc get _last_active_desktop) -shift + cmd - z : chunkc tiling::window --send-to-desktop prev; chunkc tiling::desktop --focus prev -shift + cmd - c : chunkc tiling::window --send-to-desktop next; chunkc tiling::desktop --focus next -shift + cmd - 1 : chunkc tiling::window --send-to-desktop 1; chunkc tiling::desktop --focus 1 -shift + cmd - 2 : chunkc tiling::window --send-to-desktop 2; chunkc tiling::desktop --focus 2 -shift + cmd - 3 : chunkc tiling::window --send-to-desktop 3; chunkc tiling::desktop --focus 3 -shift + cmd - 4 : chunkc tiling::window --send-to-desktop 4; chunkc tiling::desktop --focus 4 -shift + cmd - 5 : chunkc tiling::window --send-to-desktop 5; chunkc tiling::desktop --focus 5 -shift + cmd - 6 : chunkc tiling::window --send-to-desktop 6; chunkc tiling::desktop --focus 6 -shift + cmd - 7 : chunkc tiling::window --send-to-desktop 7; chunkc tiling::desktop --focus 7 -shift + cmd - 8 : chunkc tiling::window --send-to-desktop 8; chunkc tiling::desktop --focus 8 -shift + cmd - 9 : chunkc tiling::window --send-to-desktop 9; chunkc tiling::desktop --focus 9 -shift + cmd - 0 : chunkc tiling::window --send-to-desktop 10; chunkc tiling::desktop --focus 10 - -# focus monitor -ctrl + alt - z : chunkc tiling::monitor -f prev -ctrl + alt - c : chunkc tiling::monitor -f next -ctrl + alt - 1 : chunkc tiling::monitor -f 1 -ctrl + alt - 2 : chunkc tiling::monitor -f 2 -ctrl + alt - 3 : chunkc tiling::monitor -f 3 - -# send window to monitor and follow focus -ctrl + cmd - z : chunkc tiling::window --send-to-monitor prev; chunkc tiling::monitor -f prev -ctrl + cmd - c : chunkc tiling::window --send-to-monitor next; chunkc tiling::monitor -f next -ctrl + cmd - 1 : chunkc tiling::window --send-to-monitor 1; chunkc tiling::monitor -f 1 -ctrl + cmd - 2 : chunkc tiling::window --send-to-monitor 2; chunkc tiling::monitor -f 2 -ctrl + cmd - 3 : chunkc tiling::window --send-to-monitor 3; chunkc tiling::monitor -f 3 - -# increase region size -shift + alt - a : chunkc tiling::window --use-temporary-ratio 0.1 --adjust-window-edge west -shift + alt - s : chunkc tiling::window --use-temporary-ratio 0.1 --adjust-window-edge south -shift + alt - w : chunkc tiling::window --use-temporary-ratio 0.1 --adjust-window-edge north -shift + alt - d : chunkc tiling::window --use-temporary-ratio 0.1 --adjust-window-edge east - -# decrease region size -shift + cmd - a : chunkc tiling::window --use-temporary-ratio -0.1 --adjust-window-edge west -shift + cmd - s : chunkc tiling::window --use-temporary-ratio -0.1 --adjust-window-edge south -shift + cmd - w : chunkc tiling::window --use-temporary-ratio -0.1 --adjust-window-edge north -shift + cmd - d : chunkc tiling::window --use-temporary-ratio -0.1 --adjust-window-edge east - -# set insertion point for focused container -ctrl + alt - f : chunkc tiling::window --use-insertion-point cancel -ctrl + alt - h : chunkc tiling::window --use-insertion-point west -ctrl + alt - j : chunkc tiling::window --use-insertion-point south -ctrl + alt - k : chunkc tiling::window --use-insertion-point north -ctrl + alt - l : chunkc tiling::window --use-insertion-point east - -# rotate tree -alt - r : chunkc tiling::desktop --rotate 90 - -# mirror tree y-axis -alt - y : chunkc tiling::desktop --mirror vertical - -# mirror tree x-axis -alt - x : chunkc tiling::desktop --mirror horizontal - -# toggle desktop offset -alt - a : chunkc tiling::desktop --toggle offset - -# toggle window fullscreen -alt - f : chunkc tiling::window --toggle fullscreen - -# toggle window native fullscreen -shift + alt - f : chunkc tiling::window --toggle native-fullscreen - -# toggle window parent zoom -alt - d : chunkc tiling::window --toggle parent - -# toggle window split type -alt - e : chunkc tiling::window --toggle split - -# toggle window fade -alt - q : chunkc tiling::window --toggle fade - -# 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 -alt - s : chunkc tiling::window --toggle sticky - -# toggle sticky, float and resize to picture-in-picture size -alt - p : chunkc tiling::window --toggle sticky;\ - 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 - -# change layout of desktop -ctrl + alt - a : chunkc tiling::desktop --layout bsp -ctrl + alt - s : chunkc tiling::desktop --layout monocle -ctrl + alt - d : chunkc tiling::desktop --layout float - -ctrl + alt - w : chunkc tiling::desktop --deserialize ~/.chunkwm_layouts/dev_1 -- cgit v1.2.3