From 89dfbfa617826e7292dae6ec5eaa5d997c2bfc6e Mon Sep 17 00:00:00 2001 From: Nathan Woodburn Date: Tue, 27 May 2025 15:39:56 +1000 Subject: [PATCH] feat: Update lockscreen to not reload image --- .config/WallRizz/hyprpaper@5hubham5ingh.js | 4 +-- .config/backgrounds/0_Shinjuro_Rengoku_1.png | 3 --- .config/hypr/hyprlock.conf | 27 +++++++++----------- 3 files changed, 14 insertions(+), 20 deletions(-) delete mode 100644 .config/backgrounds/0_Shinjuro_Rengoku_1.png diff --git a/.config/WallRizz/hyprpaper@5hubham5ingh.js b/.config/WallRizz/hyprpaper@5hubham5ingh.js index 4c88c2b..5018b30 100644 --- a/.config/WallRizz/hyprpaper@5hubham5ingh.js +++ b/.config/WallRizz/hyprpaper@5hubham5ingh.js @@ -22,8 +22,8 @@ export function setWallpaper(wallpaperPath) { const lockpaperPath = `${directory}lockpaper${extension}`; // DELETE ANY OLD IMAGES - OS.exec(["zsh", "-c", `rm ${directory}lockpaper*`]); + //OS.exec(["zsh", "-c", `rm ${directory}lockpaper*`]); // Create symlink from wallpaper to lockpaper - OS.exec(["zsh", "-c", `ln -s ${wallpaperPath} ${lockpaperPath}`]); + //OS.exec(["zsh", "-c", `ln -s ${wallpaperPath} ${lockpaperPath}`]); OS.exec(["zsh", "-c", `ln -sf ${wallpaperPath} /home/nathan/.config/lockpaper`]); } diff --git a/.config/backgrounds/0_Shinjuro_Rengoku_1.png b/.config/backgrounds/0_Shinjuro_Rengoku_1.png deleted file mode 100644 index 4e478d5..0000000 --- a/.config/backgrounds/0_Shinjuro_Rengoku_1.png +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:484ef1a63f8d6a4b0da4f474828f70ebd1e4d1d62d02319bdc0c38a8f8c02a13 -size 3439334 diff --git a/.config/hypr/hyprlock.conf b/.config/hypr/hyprlock.conf index 090802b..9edefea 100644 --- a/.config/hypr/hyprlock.conf +++ b/.config/hypr/hyprlock.conf @@ -1,5 +1,14 @@ $font=Fira Code + +auth { + fingerprint { + enabled = true + ready_message = Scan fingerprint to unlock + present_message = Scanning... + retry_delay = 250 # in milliseconds + } +} # GENERAL general { hide_cursor = true @@ -14,8 +23,8 @@ animation { background { path = $HOME/.config/lockpaper - reload_time = 15 - reload_cmd = echo $HOME/.config/lockpaper + #reload_time = 15 + #reload_cmd = echo $HOME/.config/lockpaper blur_passes = 0 crossfade_time = 1 } @@ -101,16 +110,4 @@ input-field { capslock_color = rgb(255, 0, 0) halign = left valign = center -} - -# FINGERPRINT -# { -# # monitor = ""; -# text = $FPRINTPROMPT -# color = rgb(255, 255, 255) -# font_size = 14; -# font_family = $font; -# position = 0, -107; -# halign = center; -# valign = center; -# } +} \ No newline at end of file