Closed EdenQwQ closed 1 year ago
Thanks for the changes, this looks great!
Would you mind updating the config file docs also? (
swhkd.5.scd
)I can also add an issue to make us remember to update it in the future.
Updated
Yeah sure, go for the merge! Thanks for all the work guys. ❤️ @ajanon @EdenQwQ
Mode options:
Mode options are declared after the mode name. Syntax:
mode modename option1 option2
Currently, two options are implemented:
swallow
andonceoff
swallow
: Don't emit any event through uinput.onceoff
: Automatically escape a mode when a keybinding defined in it is evoked. @BlueDrink9 This may solve #164.We can add more options by adding members to the
ModeOptions
struct.