Files
wallpaper_demon/wallpaper-daemon.service
T

23 lines
591 B
Desktop File
Raw Normal View History

2026-05-15 04:05:54 +06:00
[Unit]
Description=Wallpaper Auto-Switcher Daemon
After=graphical-session.target
PartOf=graphical-session.target
Wants=sleep.target suspend.target hibernate.target hybrid-sleep.target
[Service]
Type=simple
WorkingDirectory=%h/.local/share/wallpaper-daemon
ExecStart=%h/.local/share/wallpaper-daemon/venv/bin/python %h/.local/share/wallpaper-daemon/wallpaper_daemon.py
Restart=on-failure
RestartSec=5
Environment=DISPLAY=:0
Environment=DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/%U/bus
IOSchedulingClass=idle
CPUSchedulingPolicy=idle
Nice=19
[Install]
WantedBy=graphical-session.target