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

let

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