1
0
mirror of https://github.com/nix-community/home-manager synced 2024-06-30 18:38:31 +02:00

sway: fix config.keybindings example

This commit is contained in:
Robert Helgesson 2020-05-24 13:00:51 +02:00
parent 1c71bd1242
commit f90b86b577
No known key found for this signature in database
GPG Key ID: 36BDAA14C2797E89

View File

@ -130,10 +130,8 @@ let
''; '';
example = literalExample '' example = literalExample ''
let let
modifier = cfg.config.modifier; modifier = config.wayland.windowManager.sway.config.modifier;
in in lib.mkOptionDefault {
lib.mkOptionDefault {
"''${modifier}+Return" = "exec ${cfg.config.terminal}"; "''${modifier}+Return" = "exec ${cfg.config.terminal}";
"''${modifier}+Shift+q" = "kill"; "''${modifier}+Shift+q" = "kill";
"''${modifier}+d" = "exec ${cfg.config.menu}"; "''${modifier}+d" = "exec ${cfg.config.menu}";