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