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

25 lines
592 B
Nix
Raw Normal View History

2022-01-18 09:32:55 +01:00
{ config, pkgs, ... }:
2022-01-25 12:27:52 +01:00
let wallpapers = "${config.home.homeDirectory}/Images/wallpapers/enabled";
in {
2022-01-18 09:32:55 +01:00
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";
};
2022-01-25 12:27:52 +01:00
Install = { WantedBy = [ "graphical-session.target" ]; };
2022-01-18 09:32:55 +01:00
};
}