diff options
author | Nikita Uvarov <uv.nikita@gmail.com> | 2018-12-07 15:45:46 +0100 |
---|---|---|
committer | Robert Helgesson <robert@rycee.net> | 2018-12-08 15:32:30 +0100 |
commit | 5d63abb473d930a78661a74e26b9f997d7b3ccd6 (patch) | |
tree | 9917019ff70db530c934fd460ac974c1ba52615b /modules | |
parent | 6e67bb7ae611ee37bd94638f90a3f001467a7ba3 (diff) |
i3: fix default keybindings override
All default keybindings should have a default priority attached to them.
This will allow users to redefine some of the default keybindings
without using mkForce. Fixes #485.
Diffstat (limited to 'modules')
-rw-r--r-- | modules/services/window-managers/i3.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/services/window-managers/i3.nix b/modules/services/window-managers/i3.nix index db41774a190..19f9cbde814 100644 --- a/modules/services/window-managers/i3.nix +++ b/modules/services/window-managers/i3.nix @@ -412,7 +412,7 @@ let keybindings = mkOption { type = types.attrsOf types.str; - default = { + default = mapAttrs (n: mkOptionDefault) { "${cfg.config.modifier}+Return" = "exec i3-sensible-terminal"; "${cfg.config.modifier}+Shift+q" = "kill"; "${cfg.config.modifier}+d" = "exec ${pkgs.dmenu}/bin/dmenu_run"; |