From c83e94d93182379a3a890f83d2d7db4fede5bf95 Mon Sep 17 00:00:00 2001 From: Natasha Moongrave Date: Thu, 5 Feb 2026 13:25:35 +0100 Subject: fixed nix syntax mixing with bash syntax --- modules/home/i3wm/nord-blue/scripts.nix | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'modules/home/i3wm') diff --git a/modules/home/i3wm/nord-blue/scripts.nix b/modules/home/i3wm/nord-blue/scripts.nix index a52c756..ff0696a 100644 --- a/modules/home/i3wm/nord-blue/scripts.nix +++ b/modules/home/i3wm/nord-blue/scripts.nix @@ -5,7 +5,7 @@ #!/usr/bin/env sh set -eu - WALL="${1:-$HOME/Pictures/wallpaper.png}" + WALL="''${1:-$HOME/Pictures/wallpaper.png}" TMP="/tmp/lockscreen.png" # Get current resolution (single-monitor friendly) @@ -13,12 +13,11 @@ # Scale like feh --bg-fill convert "$WALL" \ - -resize "${RES}^" \ + -resize "''${RES}^" \ -gravity center \ -extent "$RES" \ "$TMP" i3lock -i "$TMP" - ''; -} \ No newline at end of file +} -- cgit v1.2.3