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 = { systemd.user.timers = {
"get-theme-times" = { "get-theme-times" = {
enable = true; enable = true;
partOf = [ "get-theme-times.service" ]; wantedBy = [ "default.target" ];
timerConfig.OnCalendar = ["*:40"]; timerConfig = {
timerConfig.OnBootSec= [ "2 min" ]; Unit = "get-theme-times.service";
OnCalendar = [ "*:00" ];
OnBootSec = [ "2min" ];
};
}; };
"set-theme" = { "set-theme" = {
enable = true; enable = true;
partOf = [ "set-theme.service" ]; wantedBy = [ "default.target" ];
timerConfig.OnCalendar = [ "*:0..59" ]; timerConfig = {
timerConfig.OnUnitActiveSec = "1min"; Unit = "set-theme.service";
timerConfig.OnBootSec= [ "3min" ]; OnCalendar = [ "*:0..59" ];
OnBootSec = [ "3min" ];
};
}; };
}; };
} }