aboutsummaryrefslogtreecommitdiff
path: root/share/cfg/wpaperd.nix
blob: 3760caf1090983f761f744d6124059e2a1466ce1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# IMPORTANT: this is the config for a custom module that's located at
# /share/hm-modules/wpaperd.nix. In order to use this config you have to also
# import that module.
{ config, ... }:
let
  wallpapers-dir = "${config.xdg.userDirs.pictures}/Wallpapers";
in
{
  services.wpaperd = {
    settings.default = {
      path = wallpapers-dir;
      duration = "10m";
      sorting = "random";
    };
  };
}