desktop manager script: start properly

Adds a missing line feed when X is enabled to the start script name
and the appended if check. Resolves #160735
This commit is contained in:
Shaw Vrana 2022-02-18 11:27:42 -08:00
parent 716ab57e39
commit 0bc0dc8090

View file

@ -72,7 +72,7 @@ in
apply = map (d: d // {
manage = "desktop";
start = d.start
+ optionalString (needBGCond d) ''
+ optionalString (needBGCond d) ''\n\n
if [ -e $HOME/.background-image ]; then
${pkgs.feh}/bin/feh --bg-${cfg.wallpaper.mode} ${optionalString cfg.wallpaper.combineScreens "--no-xinerama"} $HOME/.background-image
fi