alols / xcape

Linux utility to configure modifier keys to act as other keys when pressed and released on their own.
GNU General Public License v3.0
2.1k stars 115 forks source link

"-t" Flag Not Using Default #50

Closed yahooguntu closed 7 years ago

yahooguntu commented 9 years ago

Not a big issue, but if you specify the "-t" flag without giving a value, the program chokes. I'm running the following command:

xcape -d -t -e "Mode_switch=Escape"

It says "Mode_switch=Escape" isn't a command line option, so it appears the "-t" is consuming "-e" as the timeout delay, leaving the "Mode_switch..." clause stranded.

ooesili commented 8 years ago

I feel like that is how it's supposed to work. What exactly are you trying to accomplish? Does this not work?

xcape -d -e "Mode_switch=Escape"