updates
Signed-off-by: gwg313 <gwg313@pm.me>
This commit is contained in:
parent
0d1d451171
commit
5f9fb27ebb
17 changed files with 201 additions and 120 deletions
|
|
@ -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;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue