From b54b24a76c49710950b12114d616bbd6dcafa3c0 Mon Sep 17 00:00:00 2001 From: Luc Chabassier Date: Mon, 13 Feb 2023 10:18:46 +0100 Subject: [PATCH] Improve detection of when to set the wallpaper using feh --- modules/feh/hm.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/modules/feh/hm.nix b/modules/feh/hm.nix index f8370705..041f6c7c 100644 --- a/modules/feh/hm.nix +++ b/modules/feh/hm.nix @@ -4,7 +4,11 @@ options.stylix.targets.feh.enable = config.lib.stylix.mkEnableTarget "the desktop background using Feh" - true; + (with config.xsession.windowManager; bspwm.enable + || herbsflutwm.enable + || i3.enable + || spectrwm.enable + || xmonad.enable); config.xsession.initExtra = lib.mkIf config.stylix.targets.feh.enable