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