Ignore when random-wallpaper is not installed
This commit is contained in:
parent
eddb1ac357
commit
95f5e4708d
|
@ -24,7 +24,7 @@ in
|
|||
mode <- getMode
|
||||
say [i|Switching to mode #{mode}...|]
|
||||
exe ([i|${modeDir}/#{mode}/activate|] :: String)
|
||||
exe "random-wallpaper"
|
||||
ignoreFailure $ exe "random-wallpaper"
|
||||
'';
|
||||
updateModes = pkgs.writeHaskellScript
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue