mirror of
https://github.com/nix-community/home-manager
synced 2024-11-26 21:19:45 +01:00
sway: fix config.keybindings
example
This commit is contained in:
parent
1c71bd1242
commit
f90b86b577
1 changed files with 2 additions and 4 deletions
|
@ -130,10 +130,8 @@ let
|
|||
'';
|
||||
example = literalExample ''
|
||||
let
|
||||
modifier = cfg.config.modifier;
|
||||
in
|
||||
|
||||
lib.mkOptionDefault {
|
||||
modifier = config.wayland.windowManager.sway.config.modifier;
|
||||
in lib.mkOptionDefault {
|
||||
"''${modifier}+Return" = "exec ${cfg.config.terminal}";
|
||||
"''${modifier}+Shift+q" = "kill";
|
||||
"''${modifier}+d" = "exec ${cfg.config.menu}";
|
||||
|
|
Loading…
Reference in a new issue