diff options
Diffstat (limited to 'modules/home/i3wm/nord-blue')
| -rw-r--r-- | modules/home/i3wm/nord-blue/scripts.nix | 7 |
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 +} |
