aboutsummaryrefslogtreecommitdiff
path: root/modules/home/i3wm/nord-blue/i3lock.nix
diff options
context:
space:
mode:
authorNatasha Moongrave <natasha@256phi.eu>2026-03-30 23:16:06 +0200
committerNatasha Moongrave <natasha@256phi.eu>2026-03-30 23:16:06 +0200
commit81748af284907dd0d14fafb9a532fe80d0cf9b7c (patch)
treea6d8b3a42798e497e37e8ac1f0aa9ac825c3a0ef /modules/home/i3wm/nord-blue/i3lock.nix
parent83fec3546514fc4f045908adc0581d5254a756d4 (diff)
Removed old lefotover nord-blue rice
Diffstat (limited to 'modules/home/i3wm/nord-blue/i3lock.nix')
-rw-r--r--modules/home/i3wm/nord-blue/i3lock.nix19
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"
-''