Add systemd service and timer for switching
between dark and light mode Signed-off-by: Ferit Yiğit BALABAN <fybalaban@fybx.dev>
This commit is contained in:
parent
df9a93704c
commit
a41d4fd492
6
utility/systemd/deskenv.service
Normal file
6
utility/systemd/deskenv.service
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
[Unit]
|
||||||
|
Description=Switch between dark and light mode service
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
Type=oneshot
|
||||||
|
ExecStart=/home/ferit/scripts/utility/deskenv.sh
|
9
utility/systemd/deskenv.timer
Normal file
9
utility/systemd/deskenv.timer
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
[Unit]
|
||||||
|
Description=Switch between dark and light mode at specific times
|
||||||
|
|
||||||
|
[Timer]
|
||||||
|
OnCalendar=*-*-* 09:30:00
|
||||||
|
OnCalendar=*-*-* 18:00:00
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=timers.target
|
Loading…
x
Reference in New Issue
Block a user