mirror of
https://github.com/danth/stylix
synced 2024-11-26 22:20:22 +00:00
11 lines
269 B
Nix
11 lines
269 B
Nix
{ pkgs, config, lib, ... }:
|
|
|
|
with lib;
|
|
|
|
with config.services.xserver.windowManager;
|
|
let enable = xmonad.enable || i3.enable;
|
|
|
|
in {
|
|
services.xserver.displayManager.sessionCommands = mkIf enable
|
|
"${pkgs.feh}/bin/feh --no-fehbg --bg-scale ${config.stylix.image}";
|
|
}
|