This commit is contained in:
Reid 2024-12-08 18:30:51 -08:00
parent 9c92ea27e3
commit 8a2127b3d8
Signed by: reidlab
GPG key ID: DAF5EAF6665839FD
37 changed files with 75 additions and 67 deletions

View file

@ -20,7 +20,7 @@ in {
if [ ! -f "${lastWallpaper}" ]; then
echo "$(ls ${wallpapersFolder} | shuf -n 1)" > "${lastWallpaper}"
fi
${cfg.package}/bin/swww-daemon &
${lib.getExe cfg.package} img "${wallpapersFolder}/$(cat ${lastWallpaper})" --transition-type none
'';
@ -43,4 +43,4 @@ in {
config = mkIf cfg.enable {
modules.desktop.execOnStart = [ "${cfg.startScript}" ];
};
}
}