chroma/systemd/chroma.service
NotAShelf 3cbf6d5645
chore: add systemd service
Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: I6a6a6964d88b3de5f79306867e38dfbfef2ee1af
2025-09-30 20:11:46 +03:00

24 lines
439 B
Desktop File

[Unit]
Description=Chroma Wallpaper Daemon
After=graphical-session.target
Wants=graphical-session.target
PartOf=graphical-session.target
[Service]
Type=simple
ExecStart=chroma
ExecReload=kill -HUP $MAINPID
Restart=on-failure
RestartSec=1
KillMode=mixed
TimeoutStopSec=5
# Security
NoNewPrivileges=true
PrivateDevices=true
ProtectSystem=strict
ProtectHome=read-only
ReadWritePaths=%h/.config/chroma
[Install]
WantedBy=multi-useer.target