Improve detection of when to set the wallpaper using feh

This commit is contained in:
Luc Chabassier 2023-02-13 10:18:46 +01:00 committed by GitHub
parent 283e463051
commit b54b24a76c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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