feat(systemd): service to change wallpaper

the wallpaper will be changed every 2 hours
This commit is contained in:
Sergio Laín 2023-10-09 14:49:16 +02:00
parent a99bc5f1c6
commit f5428b9a0e
No known key found for this signature in database
GPG key ID: 14C9B8080681777B
2 changed files with 19 additions and 0 deletions

View file

@ -0,0 +1,9 @@
[Unit]
Description=Change wallpaper with swww as backend
[Service]
Type=simple
ExecStart=/home/matt/.config/hypr/scripts/random_wallpaper
[Install]
WantedBy=default.target

View file

@ -0,0 +1,10 @@
[Unit]
Description=Timer to change the wallpaper each 2 hours
[Timer]
OnBootSec=0min
OnCalendar=0/2:00:00
Unit=change_wallpaper.service
[Install]
WantedBy=timers.target