My personal chunkwm, yabai and skhd configs
See my dotfiles repo for my other configs
NOTE: yabai requires System Integrity Protection to be disabled to work properly. See here for more information.
# Remove previous links
$ rm -f "${HOME}"/.{chunkwm,skhd}rc
# Install configs
$ git clone https://github.com/Julian-Heng/chunkwm-yabai-config.git "${HOME}"/.config/chunkwm
$ ln -s "${HOME}/.config/chunkwm/chunkwm/chunkwmrc" "${HOME}/.chunkwmrc"
$ ln -s "${HOME}/.config/chunkwm/chunkwm/skhdrc" "${HOME}/.skhdrc"
# Remove previous links
$ rm -f "${HOME}"/.{yabai,skhd}rc
# Install configs
$ git clone https://github.com/Julian-Heng/chunkwm-yabai-config.git "${HOME}"/.config/yabai
$ ln -s "${HOME}/.config/yabai/yabai/yabairc" "${HOME}/.yabairc"
$ ln -s "${HOME}/.config/yabai/yabai/skhdrc" "${HOME}/.skhdrc"
alt + hjkl
Action | Key Combination |
---|---|
Resize left | lctrl + alt + h |
Resize down | lctrl + alt + j |
Resize up | lctrl + alt + k |
Resize right | lctrl + alt + l |
Equalise | lctrl + alt + 0 |
shift + alt + hjkl
Action | Key Combination |
---|---|
Send to last active desktop | shift + alt + m |
Send to previous workplace | shift + alt + p |
Send to next workplace | shift + alt + n |
Send to workplace | shift + alt + num |
Action | Key Combination |
---|---|
Rotate clockwise | shift + alt + r |
Rotate anticlockwise | alt + r |
Flip on x-axis | shift + alt + x |
Flip on y-axis | shift + alt + y |
Action | Key Combination |
---|---|
Fullscreen | alt + f |
Native fullscreen | shift + alt + f |
Center window | shift + alt + c |
Action | Key Combination |
---|---|
Insert left | shift + lctrl + alt + h |
Insert down | shift + lctrl + alt + j |
Insert up | shift + lctrl + alt + k |
Insert right | shift + lctrl + alt + l |
Cancel insert (chunkwm only) | shift + lctrl + alt + x |
Action | Key Combination |
---|---|
Toggle float | shift + alt + space |
Toggle gaps | lctrl + alt + g |
Restart chunkwm | lctrl + shift + alt + r |
Uses osascript
to show information like CPU, memory, battery, etc. The CPU script requires osx-cpu-temp installed. The song script supports iTunes and cmus.
Click here to view the script folder
Note: May have to change the location of the scripts in skhdrc
fn + lalt + num
fn + lalt - 1 : /path/to/script
fn + lalt - 2 : /path/to/script
fn + lalt - 3 : /path/to/script
...
Launches iTerm2 using like in i3-wm.
Click here to view the script
alt + return
alt - return : /path/to/launch/terminal