add yabai and skhd, replacing tmux
This commit is contained in:
parent
21e58f524c
commit
d50b69e634
2 changed files with 75 additions and 0 deletions
38
.config/skhd/skhdrc
Executable file
38
.config/skhd/skhdrc
Executable file
|
|
@ -0,0 +1,38 @@
|
|||
#!/usr/bin/env bash
|
||||
#
|
||||
# I have set the "FN" key on my Planck to the "Meh" action which just fires
|
||||
# the Ctrl+Shift+Alt key combo which helps here to have unique skhd shortcuts
|
||||
# that don't clash with macOS/Neovim/...
|
||||
|
||||
# Focus a window
|
||||
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
|
||||
|
||||
# Zoom a window
|
||||
ctrl + shift + alt - f : yabai -m window --toggle zoom-fullscreen
|
||||
|
||||
# Move window and split (current desktop)
|
||||
#ctrl + shift + alt - h : yabai -m window --warp west
|
||||
#ctrl + shift + alt - j : yabai -m window --warp south
|
||||
#ctrl + shift + alt - k : yabai -m window --warp north
|
||||
#ctrl + shift + alt - l : yabai -m window --warp east
|
||||
|
||||
# Swap windows
|
||||
ctrl + shift + alt - h : yabai -m window --swap west
|
||||
ctrl + shift + alt - j : yabai -m window --swap south
|
||||
ctrl + shift + alt - k : yabai -m window --swap north
|
||||
ctrl + shift + alt - l : yabai -m window --swap east
|
||||
|
||||
# Move window to other desktop and focus desktop
|
||||
ctrl + shift + alt - 1 : yabai -m window --space 1; yabai -m space --focus 1
|
||||
ctrl + shift + alt - 2 : yabai -m window --space 2; yabai -m space --focus 2
|
||||
ctrl + shift + alt - 3 : yabai -m window --space 3; yabai -m space --focus 3
|
||||
ctrl + shift + alt - 4 : yabai -m window --space 4; yabai -m space --focus 4
|
||||
ctrl + shift + alt - 4 : yabai -m window --space 4; yabai -m space --focus 5
|
||||
|
||||
# Move window to display left and right
|
||||
ctrl + shift + alt - r : yabai -m window --display west; yabai -m display --focus west;
|
||||
ctrl + shift + alt - u : yabai -m window --display east; yabai -m display --focus east;
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue