yabai and skhd
This commit is contained in:
67
.config/skhd/skhdrc
Normal file
67
.config/skhd/skhdrc
Normal file
@ -0,0 +1,67 @@
|
||||
alt - return : alacritty msg create-window || open -n -a 'Alacritty.app'
|
||||
alt - b : /Applications/LibreWolf.app/Contents/MacOS/librewolf
|
||||
|
||||
# Navigation
|
||||
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
|
||||
|
||||
#kill Yabai
|
||||
shift + alt - c : brew services stop yabai
|
||||
#start Yabai
|
||||
alt - c : brew services start yabai
|
||||
|
||||
# Moving windows
|
||||
shift + alt - h : yabai -m window --warp west
|
||||
shift + alt - j : yabai -m window --warp south
|
||||
shift + alt - k : yabai -m window --warp north
|
||||
shift + alt - l : yabai -m window --warp east
|
||||
|
||||
#resize windows
|
||||
alt - y : yabai -m window --resize left:-50:0; \
|
||||
yabai -m window --resize right:-50:0
|
||||
alt - u : yabai -m window --resize bottom:0:50; \
|
||||
yabai -m window --resize top:0:50
|
||||
alt - i : yabai -m window --resize top:0:-50; \
|
||||
yabai -m window --resize bottom:0:-50
|
||||
alt - o : yabai -m window --resize right:50:0; \
|
||||
yabai -m window --resize left:50:0
|
||||
|
||||
# Make window native fullscreen
|
||||
alt - f : yabai -m window --toggle zoom-fullscreen
|
||||
shift + alt - f : yabai -m window --toggle native-fullscreen
|
||||
|
||||
# Float / Unfloat window
|
||||
shift + alt - space : \
|
||||
yabai -m window --toggle float; \
|
||||
yabai -m window --toggle border
|
||||
|
||||
shift + alt - r : \
|
||||
/usr/bin/env osascript <<< \
|
||||
"display notification \"Restarting Yabai\" with title \"Yabai\""; \
|
||||
launchctl kickstart -k "gui/${UID}/homebrew.mxcl.yabai"
|
||||
|
||||
shift + alt - 1 : yabai -m window --space 1;
|
||||
shift + alt - 2 : yabai -m window --space 2;
|
||||
shift + alt - 3 : yabai -m window --space 3;
|
||||
shift + alt - 4 : yabai -m window --space 4;
|
||||
shift + alt - 5 : yabai -m window --space 5;
|
||||
shift + alt - 6 : yabai -m window --space 6;
|
||||
shift + alt - 7 : yabai -m window --space 7;
|
||||
|
||||
alt - 1 : yabai -m space --focus 1;
|
||||
alt - 2 : yabai -m space --focus 2;
|
||||
alt - 3 : yabai -m space --focus 3;
|
||||
alt - 4 : yabai -m space --focus 4;
|
||||
alt - 5 : yabai -m space --focus 5;
|
||||
alt - 6 : yabai -m space --focus 6;
|
||||
alt - 7 : yabai -m space --focus 7;
|
||||
|
||||
|
||||
play : mpc toggle;
|
||||
rewind : mpc prev;
|
||||
fast : mpc next;
|
||||
|
||||
alt - 0x2C : mpc volume -10;
|
||||
alt - 0x1C : mpc volume +10;
|
||||
Reference in New Issue
Block a user