aboutsummaryrefslogtreecommitdiff
path: root/modules/services/window-managers
diff options
context:
space:
mode:
authorNikita Uvarov <uv.nikita@gmail.com>2018-12-07 15:45:46 +0100
committerRobert Helgesson <robert@rycee.net>2018-12-08 15:32:30 +0100
commit5d63abb473d930a78661a74e26b9f997d7b3ccd6 (patch)
tree9917019ff70db530c934fd460ac974c1ba52615b /modules/services/window-managers
parent6e67bb7ae611ee37bd94638f90a3f001467a7ba3 (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/services/window-managers')
-rw-r--r--modules/services/window-managers/i3.nix2
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";