dakyskye / dxhd

daky's X11 Hotkey Daemon
MIT License
99 stars 6 forks source link

support for ranges and variants #5

Closed dakyskye closed 4 years ago

dakyskye commented 4 years ago

like in sxhkd, do support alphabetical and numeric ranges (for example {c-h}, {4-8})

dakyskye commented 4 years ago

ranges and variants are now implemented, but "secondary" variants get replicated as if they were ranges, thus we end up with loads of unnecessary keybindings

dakyskye commented 4 years ago

investigated bit more, and the result: super+{_,shift}+{1-9,0}

appending mod4-1
appending mod4-0
appending mod4-shift-1
appending mod4-shift-0
appending mod4-2
appending mod4-0
appending mod4-shift-2
appending mod4-shift-0
appending mod4-3
appending mod4-0
appending mod4-shift-3
appending mod4-shift-0
appending mod4-4
appending mod4-0
appending mod4-shift-4
appending mod4-shift-0
appending mod4-5
appending mod4-0
appending mod4-shift-5
appending mod4-shift-0
appending mod4-6
appending mod4-0
appending mod4-shift-6
appending mod4-shift-0
appending mod4-7
appending mod4-0
appending mod4-shift-7
appending mod4-shift-0
appending mod4-8
appending mod4-0
appending mod4-shift-8
appending mod4-shift-0
appending mod4-9
appending mod4-0
appending mod4-shift-9
appending mod4-shift-0
dakyskye commented 4 years ago

combinations inside variant group do not work

#super+{ctrl+shift,f,o} - is invalid, should be valid!