diff options
author | Shaw Vrana <shaw@vranix.com> | 2022-02-18 11:27:42 -0800 |
---|---|---|
committer | Shaw Vrana <shaw@vranix.com> | 2022-02-18 13:54:46 -0800 |
commit | 0bc0dc8090e6609838816f43dc7799e32c674434 (patch) | |
tree | c31c538d92659161533a1c917aecf9d64d997b76 | |
parent | 716ab57e39b5f425fa4121623603c074a353c75c (diff) | |
download | nixpkgs-0bc0dc8090e6609838816f43dc7799e32c674434.tar nixpkgs-0bc0dc8090e6609838816f43dc7799e32c674434.tar.gz nixpkgs-0bc0dc8090e6609838816f43dc7799e32c674434.tar.bz2 nixpkgs-0bc0dc8090e6609838816f43dc7799e32c674434.tar.lz nixpkgs-0bc0dc8090e6609838816f43dc7799e32c674434.tar.xz nixpkgs-0bc0dc8090e6609838816f43dc7799e32c674434.tar.zst nixpkgs-0bc0dc8090e6609838816f43dc7799e32c674434.zip |
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
-rw-r--r-- | nixos/modules/services/x11/desktop-managers/default.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/services/x11/desktop-managers/default.nix b/nixos/modules/services/x11/desktop-managers/default.nix index 8247a7e381c..de106a51067 100644 --- a/nixos/modules/services/x11/desktop-managers/default.nix +++ b/nixos/modules/services/x11/desktop-managers/default.nix @@ -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 |