From 5d63abb473d930a78661a74e26b9f997d7b3ccd6 Mon Sep 17 00:00:00 2001 From: Nikita Uvarov Date: Fri, 7 Dec 2018 15:45:46 +0100 Subject: [PATCH] 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. --- modules/services/window-managers/i3.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/services/window-managers/i3.nix b/modules/services/window-managers/i3.nix index db41774a1..19f9cbde8 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";