From 1c71bd12420390ac5e8beafbe2b3d3cb8dc8f8b6 Mon Sep 17 00:00:00 2001 From: Robert Helgesson Date: Sun, 24 May 2020 13:00:30 +0200 Subject: [PATCH] i3: fix `config.keybindings` example --- modules/services/window-managers/i3-sway/i3.nix | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/modules/services/window-managers/i3-sway/i3.nix b/modules/services/window-managers/i3-sway/i3.nix index b9d0c83c..202a9797 100644 --- a/modules/services/window-managers/i3-sway/i3.nix +++ b/modules/services/window-managers/i3-sway/i3.nix @@ -101,10 +101,8 @@ let ''; example = literalExample '' let - modifier = xsession.windowManager.i3.config.modifier; - in - - lib.mkOptionDefault { + modifier = config.xsession.windowManager.i3.config.modifier; + in lib.mkOptionDefault { "''${modifier}+Return" = "exec i3-sensible-terminal"; "''${modifier}+Shift+q" = "kill"; "''${modifier}+d" = "exec \${pkgs.dmenu}/bin/dmenu_run";