mirror of
https://github.com/danth/stylix
synced 2024-11-26 22:20:22 +00:00
a1c4e8179b
Fixes #7
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}";
|
|
}
|