summaryrefslogtreecommitdiff
path: root/modules/home
diff options
context:
space:
mode:
Diffstat (limited to 'modules/home')
-rw-r--r--modules/home/i3wm/nord-blue/scripts.nix7
1 files changed, 3 insertions, 4 deletions
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
+}