refactor(hm/price): better handle swww wallpaper failures
Some checks failed
Check Formatting of Files / Check-Formatting (push) Has been cancelled
Some checks failed
Check Formatting of Files / Check-Formatting (push) Has been cancelled
This commit is contained in:
parent
dfa925f872
commit
7dab6acb93
@ -521,10 +521,10 @@ in
|
|||||||
let
|
let
|
||||||
wallpaper-dir = "${dotsDir}/.local/share/wallpapers";
|
wallpaper-dir = "${dotsDir}/.local/share/wallpapers";
|
||||||
in
|
in
|
||||||
[
|
pkgs.writeShellScript "swww-init-wallpapers" ''
|
||||||
"${pkgs.swww}/bin/swww img -t random ${wallpaper-dir}/Nebula.jpg"
|
"${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"
|
"${pkgs.swww}/bin/swww img -t wipe --transition-angle 40 -o eDP-1 ${wallpaper-dir}/Autumn-Leaves.jpg" || true
|
||||||
];
|
'';
|
||||||
};
|
};
|
||||||
Install.WantedBy = [ "swww-daemon.service" ];
|
Install.WantedBy = [ "swww-daemon.service" ];
|
||||||
Unit = {
|
Unit = {
|
||||||
|
Loading…
Reference in New Issue
Block a user