random-background: disable creation of ~/.fehbg file

This commit is contained in:
Robert Helgesson 2019-08-26 20:07:07 +02:00
parent b2a787ca69
commit bfc28cacbe
No known key found for this signature in database
GPG key ID: 36BDAA14C2797E89

View file

@ -7,7 +7,11 @@ let
cfg = config.services.random-background; cfg = config.services.random-background;
flags = lib.concatStringsSep " " ( flags = lib.concatStringsSep " " (
[ "--randomize" "--bg-${cfg.display}" ] [
"--bg-${cfg.display}"
"--no-fehbg"
"--randomize"
]
++ lib.optional (!cfg.enableXinerama) "--no-xinerama" ++ lib.optional (!cfg.enableXinerama) "--no-xinerama"
); );