mirror of
https://github.com/danth/stylix
synced 2024-11-26 14:10:22 +00:00
16 lines
576 B
Nix
16 lines
576 B
Nix
{ pkgs, config, lib, ... }:
|
|
|
|
{
|
|
options.stylix.targets.feh.enable =
|
|
config.lib.stylix.mkEnableTarget
|
|
"the desktop background using Feh"
|
|
(with config.xsession.windowManager; bspwm.enable
|
|
|| herbstluftwm.enable
|
|
|| i3.enable
|
|
|| spectrwm.enable
|
|
|| xmonad.enable);
|
|
|
|
config.xsession.initExtra =
|
|
lib.mkIf config.stylix.targets.feh.enable
|
|
"${pkgs.feh}/bin/feh --no-fehbg --bg-scale ${config.stylix.image}";
|
|
}
|