Revert "refactor(hm/price): better handle swww wallpaper failures"
All checks were successful
Check Formatting of Files / Check-Formatting (push) Successful in 1m5s

This reverts commit 7dab6acb93.
This commit is contained in:
Price Hiller 2024-07-10 15:01:11 -05:00
parent 9271ff945d
commit a35bd70536
Signed by: Price
GPG Key ID: C3FADDE7A8534BEB

View File

@ -521,10 +521,10 @@ in
let
wallpaper-dir = "${dotsDir}/.local/share/wallpapers";
in
pkgs.writeShellScript "swww-init-wallpapers" ''
"${pkgs.swww}/bin/swww img -t random ${wallpaper-dir}/Nebula.jpg" || true
"${pkgs.swww}/bin/swww img -t wipe --transition-angle 40 -o eDP-1 ${wallpaper-dir}/Autumn-Leaves.jpg" || true
'';
[
"${pkgs.swww}/bin/swww img -t random ${wallpaper-dir}/Nebula.jpg"
"${pkgs.swww}/bin/swww img -t wipe --transition-angle 40 -o eDP-1 ${wallpaper-dir}/Autumn-Leaves.jpg"
];
};
Install.WantedBy = [ "swww-daemon.service" ];
Unit = {