sway: fix config.keybindings example

(cherry picked from commit f90b86b577)
This commit is contained in:
Robert Helgesson 2020-05-24 13:00:51 +02:00
parent db21f23943
commit 96fcf3b017
No known key found for this signature in database
GPG key ID: 36BDAA14C2797E89

View file

@ -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}";