1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-11-23 19:49:45 +01:00

i3: fix config.keybindings example

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

View file

@ -101,10 +101,8 @@ let
''; '';
example = literalExample '' example = literalExample ''
let let
modifier = xsession.windowManager.i3.config.modifier; modifier = config.xsession.windowManager.i3.config.modifier;
in in lib.mkOptionDefault {
lib.mkOptionDefault {
"''${modifier}+Return" = "exec i3-sensible-terminal"; "''${modifier}+Return" = "exec i3-sensible-terminal";
"''${modifier}+Shift+q" = "kill"; "''${modifier}+Shift+q" = "kill";
"''${modifier}+d" = "exec \${pkgs.dmenu}/bin/dmenu_run"; "''${modifier}+d" = "exec \${pkgs.dmenu}/bin/dmenu_run";