Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow sxhkd-like shortenings #366

Open
exic opened this issue Sep 16, 2024 · 0 comments
Open

Allow sxhkd-like shortenings #366

exic opened this issue Sep 16, 2024 · 0 comments

Comments

@exic
Copy link

exic commented Sep 16, 2024

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
[...]

(previously accidentally posted in koekeishiya/dotfiles#13)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant