Due to Microsoft's acquisition of GitHub, this repo will be a mirror of the same repo on GitLab. Please do not send any issues or pull request on GitHub as they will be ignored.
My personal chunkwm and skhd configs and scripts
# Remove previous configs
$ rm -rf "${HOME}/.config/"{chunkwm,skhd}
$ rm -f "${HOME}"/.{chunkwmrc,skhdrc}
# Install configs
$ git clone https://github.com/Julian-Heng/chunkwm-config.git
$ mkdir "${HOME}/.config/"{chunkwm,skhd}
$ cp ./chunkwm-config/chunkwm/* "${HOME}/.config/chunkwm"
$ cp ./chunkwm-config/skhd/skhdrc "${HOME}/.config/skhd"
$ ln -s "${HOME}/.config/chunkwm/chunkwmrc" "${HOME}/.chunkwmrc"
$ ln -s "${HOME}/.config/skhd/skhdrc" "${HOME}/.skhdrc"
$ rm -rf ./chunkwm-config
alt + wasd
alt + ijkl
Action | Key Combination |
---|---|
Resize left | lctrl + alt + j |
Resize right | lctrl + alt + l |
Resize up | lctrl + alt + i |
Resize down | lctrl + alt + k |
Equalise | lctrl + alt + 0 |
shift + alt + ijkl
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 |
---|---|
Snap left | shift + alt + a/j |
Snap right | shift + alt + d/l |
Center | shift + alt + s/k |
Maximise | shift + alt + w/i |
Fullscreen | alt + f |
Native Fullscreen | shift + alt + f |
Action | Key Combination |
---|---|
Insert left | lctrl + alt + a |
Insert right | lctrl + alt + d |
Insert down | lctrl + alt + s |
Insert up | lctrl + alt + w |
Cancel insert | lctrl + alt + x |
Action | Key Combination |
---|---|
Change modes | shift + alt + c |
Toggle float | shift + alt + space |
Restart chunkwm | lctrl + shift + alt + r |
Uses osascript
to show information like CPU, memory, battery, etc. The CPU script requires osx-cpu-temp and iStats installed. The song script supports iTunes, Spotify and cmus.
Click here to view the script folder
fn + lctrl + num
fn + lctrl - 1 : /path/to/script
fn + lctrl - 2 : /path/to/script
fn + lctrl - 3 : /path/to/script
...
Opens applications. fn + alt + num opens apps on the dock a-la windows taskbar and fn + alt + alpha is customisable by the user.
Note that the config is setup to MY dock layout. To use yours, you're gonna have to edit the skhdrc
file.
fn + alt + num
fn + alt + alpha
fn + alt - e : open /home/folder
fn + alt - d : open /downloads/folder
fn + alt - 1 : open "/Applications/Safari.app"
fn + alt - 2 : open "/Applications/FirefoxNightly.app"
fn + alt - 3 : open "/Applications/Notes.app"
fn + alt - 4 : open "/Applications/Photos.app"
...
Due to the selection screenshot only selecting the border of the active window and not the actual window, we would have to make a bash script to disable borders before taking a screenshot.
Click here to view the script
command + shift + 3
command + shift + 4
command + shift + lctrl + 3
command + shift + lctrl + 4
cmd + shift - 3 : /path/to/screenshot/script --fullscreen
cmd + shift - 4 : /path/to/screenshot/script --selection
cmd + shift + lctrl - 3 : /path/to/screenshot/script --fullscreen --clipboard
cmd + shift + lctrl - 4 : /path/to/screenshot/script --selection --clipboard
Launches iTerm2 using like in i3-wm.
Click here to view the script
alt + return
alt - return : /path/to/launch/terminal
Launches Activity Monitor like in Windows
shift + alt + esc
shift + alt - escape : open "/Applications/Utilities/Activity Monitor.app"