config/skhd/skhdrc

44 lines
1.6 KiB
Plaintext
Raw Normal View History

2023-08-28 17:38:02 -07:00
# Bind caps lock to meh (cmd + alt + ctrl).
# Windows
meh - right : yabai -m window --focus east
meh - left : yabai -m window --focus west
meh - up : yabai -m window --focus north
meh - down : yabai -m window --focus south
hyper - right : yabai -m window --swap east
hyper - left : yabai -m window --swap west
hyper - up : yabai -m window --swap north
hyper - down : yabai -m window --swap south
meh - f : yabai -m window --toggle native-fullscreen
meh - v : yabai -m window --toggle float
meh - s : yabai -m window --toggle sticky
meh - 0x2C : yabai -m window --toggle split
meh - q : yabai -m window --close
# Spaces
#meh - n : yabai -m space --create && \
# 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}"
#meh - n : yabai -m space --destroy
meh - 1 : yabai -m space --focus 1
meh - 2 : yabai -m space --focus 2
meh - 3 : yabai -m space --focus 3
meh - 4 : yabai -m space --focus 4
meh - 5 : yabai -m space --focus 5
meh - 6 : yabai -m space --focus 6
meh - 7 : yabai -m space --focus 7
meh - 8 : yabai -m space --focus 8
meh - 9 : yabai -m space --focus 9
hyper - 1 : yabai -m window --space 1
hyper - 2 : yabai -m window --space 2
hyper - 3 : yabai -m window --space 3
hyper - 4 : yabai -m window --space 4
hyper - 5 : yabai -m window --space 5
hyper - 6 : yabai -m window --space 6
hyper - 7 : yabai -m window --space 7
hyper - 8 : yabai -m window --space 8
hyper - 9 : yabai -m window --space 9