mirror of
https://github.com/danth/stylix
synced 2025-02-27 20:57:13 +00:00
12 lines
403 B
Nix
12 lines
403 B
Nix
{ pkgs, config, lib, ... }:
|
|
|
|
{
|
|
options.stylix.targets.feh.enable =
|
|
config.lib.stylix.mkEnableTarget
|
|
"the desktop background using Feh"
|
|
(with config.services.xserver.windowManager; xmonad.enable || i3.enable);
|
|
|
|
config.services.xserver.displayManager.sessionCommands =
|
|
lib.mkIf config.stylix.targets.feh.enable
|
|
"${pkgs.feh}/bin/feh --no-fehbg --bg-scale ${config.stylix.image}";
|
|
}
|