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.

(cherry picked from commit 5d63abb473)
This commit is contained in:
Nikita Uvarov 2018-12-07 15:45:46 +01:00 committed by Robert Helgesson
parent cb29a29055
commit d5e21feebb
No known key found for this signature in database
GPG key ID: 36BDAA14C2797E89

View file

@ -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";