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:
Ferit Yiğit BALABAN 2023-11-10 21:01:16 +03:00
parent df9a93704c
commit a41d4fd492
Signed by: fyb
GPG Key ID: E21FEB2C244CB7EB
2 changed files with 15 additions and 0 deletions

View File

@ -0,0 +1,6 @@
[Unit]
Description=Switch between dark and light mode service
[Service]
Type=oneshot
ExecStart=/home/ferit/scripts/utility/deskenv.sh

View 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