Signed-off-by: gwg313 <gwg313@pm.me>
This commit is contained in:
gwg313 2025-08-16 01:32:32 -04:00
parent 0d1d451171
commit 5f9fb27ebb
Signed by: gwg313
GPG key ID: 60FF63B4826B7400
17 changed files with 201 additions and 120 deletions

View file

@ -76,4 +76,42 @@ in
night-shift-status
night-shift-status-icon
];
systemd.user.services.night-shift-on = {
Unit = {
Description = "Enable Night Shift at 8:30PM";
};
Service = {
ExecStart = "${night-shift-on}/bin/night-shift-on";
};
};
systemd.user.timers.night-shift-on = {
Unit = {
Description = "Timer for Night Shift ON";
};
Timer = {
OnCalendar = "*-*-* 20:30:00";
Persistent = true;
};
};
systemd.user.services.night-shift-off = {
Unit = {
Description = "Disable Night Shift at 6:35AM";
};
Service = {
ExecStart = "${night-shift-off}/bin/night-shift-off";
};
};
systemd.user.timers.night-shift-off = {
Unit = {
Description = "Timer for Night Shift OFF";
};
Timer = {
OnCalendar = "*-*-* 06:31:00";
Persistent = true;
};
};
}