23 lines
591 B
Desktop File
23 lines
591 B
Desktop File
|
|
[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
|