feat: Update lockscreen to not reload image
This commit is contained in:
@@ -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`]);
|
||||
}
|
||||
|
||||
Binary file not shown.
@@ -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;
|
||||
# }
|
||||
}
|
||||
Reference in New Issue
Block a user