random-background: minor documentation improvements
(cherry picked from commit cf5dac9563
)
This commit is contained in:
parent
15ef36a7f4
commit
0312d450e2
|
@ -17,22 +17,22 @@ in
|
||||||
|
|
||||||
imageDirectory = mkOption {
|
imageDirectory = mkOption {
|
||||||
type = types.str;
|
type = types.str;
|
||||||
description =
|
example = "%h/backgrounds";
|
||||||
''
|
description = ''
|
||||||
The directory of images from which a background should be
|
The directory of images from which a background should be
|
||||||
chosen. Should be formatted in a way understood by
|
chosen. Should be formatted in a way understood by systemd,
|
||||||
systemd, e.g., '%h' is the home directory.
|
e.g., '%h' is the home directory.
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
interval = mkOption {
|
interval = mkOption {
|
||||||
default = null;
|
default = null;
|
||||||
type = types.nullOr types.str;
|
type = types.nullOr types.str;
|
||||||
|
example = "1h";
|
||||||
description = ''
|
description = ''
|
||||||
The duration between changing background image, set to null
|
The duration between changing background image, set to null
|
||||||
to only set background when logging in.
|
to only set background when logging in. Should be formatted
|
||||||
|
as a duration understood by systemd.
|
||||||
Should be formatted as a duration understood by systemd.
|
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue