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:
parent
cb29a29055
commit
d5e21feebb
|
@ -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";
|
||||
|
|
Loading…
Reference in a new issue