diff options
| author | Natasha Moongrave <natasha@256phi.eu> | 2026-03-24 13:57:44 +0100 |
|---|---|---|
| committer | Natasha Moongrave <natasha@256phi.eu> | 2026-03-24 13:57:44 +0100 |
| commit | 640794a741177bb0bb1a0d161eb743f2bfed73ca (patch) | |
| tree | 4b825dc642cb6eb9a060e54bf8d69288fbee4904 /modules/home/i3wm/nord-blue/i3lock.nix | |
| parent | c4af2e03eb09a9b6566da1fd0c8be3e341e97463 (diff) | |
Removed everything
Diffstat (limited to 'modules/home/i3wm/nord-blue/i3lock.nix')
| -rw-r--r-- | modules/home/i3wm/nord-blue/i3lock.nix | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/modules/home/i3wm/nord-blue/i3lock.nix b/modules/home/i3wm/nord-blue/i3lock.nix deleted file mode 100644 index dc87766..0000000 --- a/modules/home/i3wm/nord-blue/i3lock.nix +++ /dev/null @@ -1,19 +0,0 @@ -{ pkgs }: - -# Wrapper/script for i3-lock to use '~/Pictures/wallpaper.png' as the 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" -'' |
