-
Notifications
You must be signed in to change notification settings - Fork 219
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
Any interest in sxhkd-like syntax for multiple similar bindings? #68
Comments
The idea is interesting, but how would it interact with commands that include |
Good point. For chained commands, I think it's fairly simple:
parses to:
If the
parses to:
Would be similar with For commands that include
Are there other edge cases I'm missing where a command could include |
I suppose that seems reasonable. Not sure when I would feel like working on something like this, so I suppose a PR would be the most appropriate if you would like this functionality in the near future. |
Would this allow users to cleanup something like
to
|
On linux I use
sxhkd
, where you can write keybinds like this:Multiple
{}
groups are supported too, as long as the keybind and the command have the same number of groups.In skhd of course the binding would be 8 lines long:
I don't know if you're interested in functionality like this? (or if you don't care much about writing it, but would be fine with a PR?)
The text was updated successfully, but these errors were encountered: