fix sddm theme and background preloading

This commit is contained in:
mjallen18
2025-06-26 12:59:38 -05:00
parent 91873cc197
commit ff33dd06cf
3 changed files with 22 additions and 12 deletions

View File

@@ -1,7 +1,7 @@
{ lib, pkgs, ... }:
let
theme = import ./theme.nix { inherit pkgs; };
wallpaper = "/tmp/wallpaper.jpg";
wallpaper = "/run/wallpaper.jpg";
in
{
imports = [
@@ -96,10 +96,10 @@ in
hyprpaper = {
enable = true;
settings = {
preload = [ "/tmp/wallpaper.jpg" wallpaper ];
preload = [ "/run/wallpaper.jpg" wallpaper ];
wallpaper = [
"${theme.displayLeft.input}, /tmp/wallpaper.jpg"
"${theme.displayRight.input}, /tmp/wallpaper.jpg"
"${theme.displayLeft.input}, /run/wallpaper.jpg"
"${theme.displayRight.input}, /run/wallpaper.jpg"
];
splash = false;
};