From bfc28cacbed9124d0162db60a1cb0a453da273bd Mon Sep 17 00:00:00 2001 From: Robert Helgesson Date: Mon, 26 Aug 2019 20:07:07 +0200 Subject: [PATCH] random-background: disable creation of `~/.fehbg` file --- modules/services/random-background.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/modules/services/random-background.nix b/modules/services/random-background.nix index 789c9164..cbec97ae 100644 --- a/modules/services/random-background.nix +++ b/modules/services/random-background.nix @@ -7,7 +7,11 @@ let cfg = config.services.random-background; flags = lib.concatStringsSep " " ( - [ "--randomize" "--bg-${cfg.display}" ] + [ + "--bg-${cfg.display}" + "--no-fehbg" + "--randomize" + ] ++ lib.optional (!cfg.enableXinerama) "--no-xinerama" );