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.
This commit is contained in:
parent
6e67bb7ae6
commit
5d63abb473
|
@ -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