Commits
- Commit:
eb90e50e34471fcbe785588d8113c4d581754f99
- From:
- Omar Polo <op@omarpolo.com>
- Date:
trying to improve error message
on some cases, user will get better errors, instead of "foo.conf:5
syntax error". This is the yacc complement for what's been done
previously in the parser also.
- Commit:
7d3286caede96d7b813eff7dc3691d683d0f9bf9
- From:
- Omar Polo <op@omarpolo.com>
- Date:
reworked the tokenizer -- breaking change
The parser was pratically rewritten. Strings now are required to be
quoted with single quotes, while keys (still) requires double quotes.
In addition, the * is no longer a valid match argument: to match on
everything you need to use the special keyword `all'.
match all # before was `match *'
on "C-a" do "<Home>" # unchanged
match class 'Firefox' # before was `match class Firefox'
# ...
- Commit:
e0041ee5139dcd4173fe8f47ff691c0d41951341
- From:
- Omar Polo <op@omarpolo.com>
- Date:
add exec action for keys
users can now exec command on specifics keys. For example:
match class Something
on "C-<F5>" do exec my-program
- Commit:
13cc0916743705e32211da7fcf5499197e36e883
- From:
- Omar Polo <op@omarpolo.com>
- Date:
improved error messages
yyerror now is a printf-like variadic function. This helps to
generate custom error message like "invalid keysym %s" or "invalid key
%s" during parsing.
- Commit:
9f53ba9bae9aee077aa72cbc3fb5af6d27d20ec2
- From:
- Omar Polo <op@omarpolo.com>
- Date:
add ``match *'' to match everything
Rationale: sometimes it can be useful to globally bind a key. For
instance, some users may like to bind
on "C-<Up>" do "<Page_Up>"
for every application.
- Commit:
e573cb09321087dc40dc088a53a9e079a31ecfe5
- From:
- Omar Polo <op@omarpolo.com>
- Date:
initial commit