aboutsummaryrefslogtreecommitdiff
path: root/package.yaml
diff options
context:
space:
mode:
authorJosh Rahm <rahm@google.com>2021-11-22 16:03:16 -0700
committerJosh Rahm <joshuarahm@gmail.com>2022-10-09 12:19:45 -0600
commitd2c7a351c0d70ed6fc14590640eb277a15b01333 (patch)
tree194d760ed420f2fae248620a42d4ad92225064c3 /package.yaml
parent736f5b2cba1a7541e6d9173bf0fdbd28eced013d (diff)
downloadrde-d2c7a351c0d70ed6fc14590640eb277a15b01333.tar.gz
rde-d2c7a351c0d70ed6fc14590640eb277a15b01333.tar.bz2
rde-d2c7a351c0d70ed6fc14590640eb277a15b01333.zip
Compeletely change how KeyBindings are done.
Created new KeysM and ButtonsM monads to make configuring keybindings and button bindings more readable through a DSL. Before bindings would just be a giant list, but that made it difficult to read and repetitive. Now the syntax follows the pattern bind key-to-bind mask1 : action mask2 : action i.e. bind xK_a $ do justMod $ doSomeAction a b c shiftMod $ doSomeOtherAction a b c This makes it a lot cleaner to see all the bindings allocated to a specific key. That way, when adding a new binding, I can easily see what bindings already exist for that key.
Diffstat (limited to 'package.yaml')
0 files changed, 0 insertions, 0 deletions