трансфер с гитхаба

This commit is contained in:
2026-05-15 04:05:54 +06:00
parent a7734dc03c
commit c850c1157b
14 changed files with 727 additions and 9 deletions
+22
View File
@@ -0,0 +1,22 @@
[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