mirror of
https://github.com/nix-community/home-manager
synced 2024-12-12 12:59:49 +01:00
sway: fix config.keybindings
example
(cherry picked from commit f90b86b577
)
This commit is contained in:
parent
db21f23943
commit
96fcf3b017
1 changed files with 2 additions and 4 deletions
|
@ -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}";
|
||||||
|
|
Loading…
Reference in a new issue