From cef404fa73b4794340767584a552c5e80b59252c Mon Sep 17 00:00:00 2001 From: Natasha Moongrave Date: Fri, 6 Feb 2026 13:06:23 +0100 Subject: fixed dmenu wrapper to work with global variables --- modules/home/i3wm/nord-blue/dmenu.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'modules/home/i3wm/nord-blue/dmenu.nix') diff --git a/modules/home/i3wm/nord-blue/dmenu.nix b/modules/home/i3wm/nord-blue/dmenu.nix index c07952f..9e4652c 100644 --- a/modules/home/i3wm/nord-blue/dmenu.nix +++ b/modules/home/i3wm/nord-blue/dmenu.nix @@ -1,10 +1,10 @@ -{ pkgs, colors }: # <- accept the colors set as an argument +{ pkgs, vars }: # <- accept the colors set as an argument # Wrapper for dmenu that uses your color variables pkgs.writeShellScriptBin "dmenu" '' #!/usr/bin/env sh exec ${pkgs.dmenu}/bin/dmenu_run \ -fn 'JetBrains Mono-12' \ - -nb '${colors.background}' -nf '${colors.foreground}' \ - -sb '${colors.accent}' -sf '${colors.text}' + -nb '${vars.colors.background}' -nf '${vars.colors.foreground}' \ + -sb '${vars.colors.accent}' -sf '${vars.colors.text}' '' -- cgit v1.2.3