koekeishiya / dotfiles

Configuration files
350 stars 63 forks source link

Allow sxhkd-like shortenings #13

Closed exic closed 1 month ago

exic commented 2 months ago

It could make our config files more concise to have those shortenings which sxhkd provides (see e.g. https://github.com/baskerville/bspwm/blob/master/examples/sxhkdrc).

So

cmd + alt - {1-9}: yabai -m space --focus {1-9}
cmd + {h,j,k,l}: yabai -m window --focus {west,south,north,east}

would be the same as

cmd + alt - 1: yabai -m space --focus 1
cmd + alt - 2: yabai -m space --focus 2
cmd + alt - 3: yabai -m space --focus 3
[...]
cmd + h: yabai -m window --focus west
cmd + j: yabai -m window --focus south
[...]
exic commented 1 month ago

Sorry, this should've went to koekeishiya/skhd.