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`]);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user