[feature request] ability to make your own modifier keywords
- Dominant language
- C
- Stars
- 8.1k
- Forks
- 241
- PR merge metrics
- No merged PRs in 30d
Description
I noticed in [here](https://github.com/koekeishiya/skhd/issues/1) that you have added the modifiers `hyper` and `meh`.
It would be cool if we were able to create our own modifier keywords.
For example:
`mod1 = alt + shift`
So then, for example, instead of having to write:
```
# swap managed window
shift + alt - h : yabai -m window --swap west
shift + alt - j : yabai -m window --swap south
shift + alt - k : yabai -m window --swap north
shift + alt - l : yabai -m window --swap east
```
you could write
```
# swap managed window
mod1 - h : yabai -m window --swap west
mod1 - j : yabai -m window --swap south
mod1 - k : yabai -m window --swap north
mod1 - l : yabai -m window --swap east
```
Contributor guide
No contributing guide indexed for this repository
Research direction
The issue names no files or tests. Start by tracing how the existing hyper and meh modifiers are recognized and how configuration lines are parsed; done means supporting an assignment such as mod1 = alt + shift and using mod1 in the shown bindings.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100