This commit is contained in:
iFargle 2024-01-05 20:48:33 +09:00
parent acb771edb9
commit 845d4b3664

View file

@ -68,16 +68,21 @@
systemd.user.timers = {
"get-theme-times" = {
enable = true;
partOf = [ "get-theme-times.service" ];
timerConfig.OnCalendar = ["*:40"];
timerConfig.OnBootSec= [ "2 min" ];
wantedBy = [ "default.target" ];
timerConfig = {
Unit = "get-theme-times.service";
OnCalendar = [ "*:00" ];
OnBootSec = [ "2min" ];
};
};
"set-theme" = {
enable = true;
partOf = [ "set-theme.service" ];
timerConfig.OnCalendar = [ "*:0..59" ];
timerConfig.OnUnitActiveSec = "1min";
timerConfig.OnBootSec= [ "3min" ];
wantedBy = [ "default.target" ];
timerConfig = {
Unit = "set-theme.service";
OnCalendar = [ "*:0..59" ];
OnBootSec = [ "3min" ];
};
};
};
}