diff --git a/config.c b/config.c index 02813bb4..11f4efdb 100644 --- a/config.c +++ b/config.c @@ -507,7 +507,7 @@ parse_section_key_bindings( if (strcmp(key, binding_action_map[action]) != 0) continue; - if (strcmp(value, "NONE") == 0) { + if (strcasecmp(value, "none") == 0) { free(conf->bindings.key[action]); conf->bindings.key[action] = NULL; return true; diff --git a/doc/foot.5.scd b/doc/foot.5.scd index 2bfd68e2..96036ce3 100644 --- a/doc/foot.5.scd +++ b/doc/foot.5.scd @@ -165,8 +165,8 @@ Note that *Alt* is usually called *Mod1*. A key combination can only be mapped to *one* action. Lets say you want to bind *Control+Shift+R* to *fullscreen*. Since this is the default shortcut for *search-start*, you first need to unmap the -default binding. This can be done by setting _action=NONE_; -e.g. *search-start=NONE*. +default binding. This can be done by setting _action=none_; +e.g. *search-start=none*. *scrollback-up* Scrolls up/back in history. Default: _Shift+Page\_Up_. @@ -223,8 +223,8 @@ find the event names using *libinput debug-events*. A button can only be mapped to *one* action. Lets say you want to bind *BTN\_MIDDLE* to *fullscreen*. Since *BTN\_MIDDLE* is the default binding for *primary-paste*, you first need to unmap the default -binding. This can be done by setting _action=NONE_; -e.g. *primary-paste=NONE*. +binding. This can be done by setting _action=none_; +e.g. *primary-paste=none*. All actions listed under *key-bindings* can be user here as well. diff --git a/footrc b/footrc index 8a9524ef..2575b58a 100644 --- a/footrc +++ b/footrc @@ -53,9 +53,9 @@ # font-decrease=Control+minus Control+KP_Subtract # font-reset=Control+0 Control+KP_0 # spawn-terminal=Control+Shift+N -# # minimize= -# # maximize= -# # fullscreen= +# minimize=none +# maximize=none +# fullscreen=none [mouse-bindings] # primary-paste=BTN_MIDDLE