mirror of
https://github.com/nix-community/home-manager
synced 2024-11-23 13:13:26 +00:00
i3: reallow using null to disable a keybinding
This commit is contained in:
parent
55100918cc
commit
d5cc53a4e1
1 changed files with 2 additions and 2 deletions
|
@ -411,7 +411,7 @@ let
|
|||
};
|
||||
|
||||
keybindings = mkOption {
|
||||
type = types.attrsOf types.str;
|
||||
type = types.attrsOf (types.nullOr types.str);
|
||||
default = mapAttrs (n: mkOptionDefault) {
|
||||
"${cfg.config.modifier}+Return" = "exec i3-sensible-terminal";
|
||||
"${cfg.config.modifier}+Shift+q" = "kill";
|
||||
|
@ -486,7 +486,7 @@ let
|
|||
};
|
||||
|
||||
keycodebindings = mkOption {
|
||||
type = types.attrsOf types.str;
|
||||
type = types.attrsOf (types.nullOr types.str);
|
||||
default = {};
|
||||
description = ''
|
||||
An attribute set that assigns keypress to an action using key code.
|
||||
|
|
Loading…
Reference in a new issue