fix(swaybg): fix swaybg service
This commit is contained in:
parent
a7d9aebdca
commit
d757d6b432
5 changed files with 36 additions and 36 deletions
|
@ -35,10 +35,8 @@ in {
|
|||
after = ["graphical-session-pre.target"];
|
||||
partOf = ["graphical-session.target"];
|
||||
|
||||
script = lib.getExe' cfg.package "swaybg";
|
||||
scriptArgs = "-i ${cfg.wallpaper} -m ${cfg.mode}";
|
||||
|
||||
serviceConfig = {
|
||||
ExecStart = "${lib.getExe' cfg.package "swaybg"} -i ${cfg.wallpaper} -m ${cfg.mode}";
|
||||
Restart = "always";
|
||||
RestartSec = "5";
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue