mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-02 03:43:06 +00:00
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:
parent
716ab57e39
commit
0bc0dc8090
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user