1
0
mirror of https://github.com/nix-community/home-manager synced 2024-06-26 16:38:34 +02:00

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:
Nikita Uvarov 2018-12-07 15:45:46 +01:00 committed by Robert Helgesson
parent 6e67bb7ae6
commit 5d63abb473
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";