random-background: actually use image directory option

This commit is contained in:
Robert Helgesson 2017-06-25 16:56:54 +02:00
parent 3793dfeab5
commit 8b5d19e6b7
Failed to generate hash of commit

View file

@ -46,7 +46,7 @@ in
Service = {
Type = "oneshot";
ExecStart = "${pkgs.feh}/bin/feh --randomize --bg-fill %h/backgrounds/";
ExecStart = "${pkgs.feh}/bin/feh --randomize --bg-fill ${cfg.imageDirectory}";
IOSchedulingClass = "idle";
};