diff options
| author | Natasha Moongrave <natasha@256phi.eu> | 2026-02-05 13:25:35 +0100 |
|---|---|---|
| committer | Natasha Moongrave <natasha@256phi.eu> | 2026-02-05 13:25:35 +0100 |
| commit | c83e94d93182379a3a890f83d2d7db4fede5bf95 (patch) | |
| tree | 9eac5c3ab0c35eef4a9e84391a726a1e8c8e92cf /modules/home/i3wm/nord-blue/scripts.nix | |
| parent | 182a1aacebe22cda76e9985d0dfbc61a8aa02261 (diff) | |
fixed nix syntax mixing with bash syntax
Diffstat (limited to 'modules/home/i3wm/nord-blue/scripts.nix')
| -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 +} |
