diff options
| author | Natasha Moongrave <natasha@256phi.eu> | 2026-02-06 12:51:16 +0100 |
|---|---|---|
| committer | Natasha Moongrave <natasha@256phi.eu> | 2026-02-06 12:51:16 +0100 |
| commit | 91b2031b7f863450768eb43ae9bc690f8168e7c7 (patch) | |
| tree | ba263e50fbd5b3154d1cf51f0fb02f23bc60ffe5 /modules/home/i3wm/nord-blue/scripts.nix | |
| parent | e5af2022618a23c507c713a9906539e282255934 (diff) | |
fixed the lock screen wrapper script to be in line with the other wrappers/scripts
Diffstat (limited to 'modules/home/i3wm/nord-blue/scripts.nix')
| -rw-r--r-- | modules/home/i3wm/nord-blue/scripts.nix | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/modules/home/i3wm/nord-blue/scripts.nix b/modules/home/i3wm/nord-blue/scripts.nix index 47c49eb..e69de29 100644 --- a/modules/home/i3wm/nord-blue/scripts.nix +++ b/modules/home/i3wm/nord-blue/scripts.nix @@ -1,23 +0,0 @@ -{ pkgs }: - -{ - lock-screen = pkgs.writeShellScriptBin "lock-screen" '' - #!/usr/bin/env sh - set -eu - - 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" - - i3lock -i "$TMP" - ''; -} |
