Move modules folders
This commit is contained in:
parent
914909009c
commit
c1101e7b45
183 changed files with 327 additions and 327 deletions
32
hm/wl_update_background.nix
Normal file
32
hm/wl_update_background.nix
Normal file
|
|
@ -0,0 +1,32 @@
|
|||
{ pkgs, ... }: {
|
||||
home.packages = [ pkgs.wl-update-background ];
|
||||
|
||||
systemd.user.services."wl-update-background" = {
|
||||
Unit = {
|
||||
Description = "Set random desktop background using swww";
|
||||
After = [ "graphical-session.pre.target" ];
|
||||
PartOf = [ "graphical-session.target" ];
|
||||
RequiresMountsFor = [ "/home/bertof/Immagini" ];
|
||||
};
|
||||
Install = {
|
||||
WantedBy = [ "graphical-session.target" ];
|
||||
};
|
||||
Service = {
|
||||
Type = "oneshot";
|
||||
IOSchedulingClass = "idle";
|
||||
ExecStart = "${pkgs.wl-update-background}/bin/wl-update-background";
|
||||
};
|
||||
};
|
||||
|
||||
systemd.user.timers."wl-update-background" = {
|
||||
Unit = {
|
||||
Description = "Set random desktop background using swww";
|
||||
};
|
||||
Timer = {
|
||||
OnUnitActiveSec = "10m";
|
||||
};
|
||||
Install = {
|
||||
WantedBy = [ "timers.target" ];
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue