caps2esc:logo4alt

Interception tools plugin that maps caps->{esc,ctrl} and logo<->alt
git clone git://git.deurzen.net/caps2esc:logo4alt
Log | Files | Refs | README | LICENSE

commit 5cffbf6bb52331b93bb58b1abc6b5294922a3d00
parent 9aa9985b0efa7f7a1e5ca837ea532689bb325d53
Author: Francisco Lopes <francisco@nosubstance.me>
Date:   Sat,  2 Jan 2021 21:42:05 -0300

Formatting

Diffstat:
Mcaps2esc.c | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/caps2esc.c b/caps2esc.c @@ -68,6 +68,7 @@ void write_event_with_mode(struct input_event *event, int mode) { int main(int argc, char *argv[]) { int mode = 0, delay = 20000; + for (int opt; (opt = getopt(argc, argv, "ht:m:")) != -1;) { switch (opt) { case 'h':