nix-config/home/desktop-xmonad/misc.nix

37 lines
708 B
Nix
Raw Normal View History

2022-01-18 09:32:55 +01:00
{ config, pkgs, ... }:
let
wallpapers = "${config.home.homeDirectory}/Images/wallpapers/enabled";
in
{
services.picom = {
enable = true;
blur = true;
fade = false;
shadow = true;
};
services.random-background = {
enable = true;
enableXinerama = true;
display = "fill";
imageDirectory = wallpapers;
};
systemd.user.services.xbanish = {
Unit = {
Description = "Xbanish";
After = [ "graphical-session-pre.target" ];
PartOf = [ "graphical-session.target" ];
};
Service = {
Type = "simple";
ExecStart = "${pkgs.xbanish}/bin/xbanish";
};
Install = {
WantedBy = [ "graphical-session.target" ];
};
};
}