diff options
| author | Natasha Moongrave <natasha@256phi.eu> | 2026-03-30 23:19:12 +0200 |
|---|---|---|
| committer | Natasha Moongrave <natasha@256phi.eu> | 2026-03-30 23:19:12 +0200 |
| commit | d8b557099f4d4938f7f87c236f22d416191fcde9 (patch) | |
| tree | e834855a15dd8d3d001bf4c6d428cd02502a16b0 /modules/home/i3wm/nord-blue/i3lock.nix | |
| parent | bb9cd7512a57bd348a645b8b888e25061518fa06 (diff) | |
| parent | bb42f5fb23ed842837071c2765c33bd65f7eb941 (diff) | |
Merge branch 'recovered-changes' into config-rewriteconfig-rewrite
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" -'' |
