summaryrefslogtreecommitdiffstats
path: root/lass/2configs/fetchWallpaper.nix
blob: cf084ea8f779e409dd20de9e06c76a6c37a4a6b5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
{ config, pkgs, ... }:

let

in {
  krebs.fetchWallpaper = {
    enable = true;
    unitConfig.ConditionPathExists = "!/var/run/ppp0.pid";
    url = "prism/wallpaper.png";
  };
  systemd.services.fetchWallpaper = {
    after = [ "xmonad.service" ];
    wantedBy = [ "xmonad.service" ];
  };
}