diff --git a/.skhdrc b/.config/skhd/skhdrc similarity index 87% rename from .skhdrc rename to .config/skhd/skhdrc index 9b83295..2286ba1 100644 --- a/.skhdrc +++ b/.config/skhd/skhdrc @@ -77,7 +77,10 @@ # ############################################################### # # focus window -# alt - h : yabai -m window --focus west +alt - h : yabai -m window --focus west +alt - j : yabai -m window --focus south +alt - k : yabai -m window --focus north +alt - l : yabai -m window --focus east # swap managed window # shift + alt - h : yabai -m window --swap north @@ -96,7 +99,7 @@ # create desktop, move window and follow focus - uses jq for parsing json (brew install jq) # shift + cmd - n : yabai -m space --create && \ -# index="$(yabai -m query --spaces --display | jq 'map(select(."native-fullscreen" == 0))[-1].index')" && \ +# index="$(yabai -m query --spaces --display | jq 'map(select(."is-native-fullscreen" == false))[-1].index')" && \ # yabai -m window --space "${index}" && \ # yabai -m space --focus "${index}" @@ -123,6 +126,10 @@ # increase window size # shift + alt - a : yabai -m window --resize left:-20:0 # shift + alt - w : yabai -m window --resize top:0:-20 +ctrl + lalt - h : yabai -m window --resize right:-10:0 || yabai -m window --resize left:-10:0 +ctrl + lalt - j : yabai -m window --resize bottom:0:10 || yabai -m window --resize top:0:10 +ctrl + lalt - k : yabai -m window --resize bottom:0:-10 || yabai -m window --resize top:0:-10 +ctrl + lalt - l : yabai -m window --resize right:10:0 || yabai -m window --resize left:10:0 # decrease window size # shift + cmd - s : yabai -m window --resize bottom:0:-20 @@ -133,19 +140,13 @@ # toggle window zoom # alt - d : yabai -m window --toggle zoom-parent -# alt - f : yabai -m window --toggle zoom-fullscreen +ctrl + alt - f : yabai -m window --toggle zoom-fullscreen # toggle window split type # alt - e : yabai -m window --toggle split # float / unfloat window and center on screen -# alt - t : yabai -m window --toggle float;\ -# yabai -m window --grid 4:4:1:1:2:2 +# alt - t : yabai -m window --toggle float --grid 4:4:1:1:2:2 # toggle sticky(+float), topmost, picture-in-picture -# alt - p : yabai -m window --toggle sticky;\ -# yabai -m window --toggle topmost;\ -# yabai -m window --toggle pip - -# open alacritty -ctrl + cmd - i : /Applications/Alacritty.app/Contents/MacOS/alacritty +# alt - p : yabai -m window --toggle sticky --toggle topmost --toggle pip