From fbad4d828272007ee5d6801294dce1f4c974386e Mon Sep 17 00:00:00 2001 From: Natasha Moongrave Date: Fri, 6 Feb 2026 13:24:27 +0100 Subject: fixed the lock-screen wrapper --- modules/home/i3wm/nord-blue/i3lock.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'modules') diff --git a/modules/home/i3wm/nord-blue/i3lock.nix b/modules/home/i3wm/nord-blue/i3lock.nix index 3338616..dc87766 100644 --- a/modules/home/i3wm/nord-blue/i3lock.nix +++ b/modules/home/i3wm/nord-blue/i3lock.nix @@ -6,14 +6,14 @@ pkgs.writeShellScriptBin "lock-screen" '' #!/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) RES=$(xrandr | awk '/\*/ {print $1; exit}') # Scale like feh --bg-fill - magick "$WALL" -resize "\$\{RES}^" -gravity center -extent "$RES" "$TMP" + magick "''$WALL" -resize "''${RES}^" -gravity center -extent "''$RES" "''$TMP" i3lock -i "$TMP" '' -- cgit v1.2.3