From 3cbf6d56457be861472bea470fc4920e5d067989 Mon Sep 17 00:00:00 2001 From: NotAShelf Date: Mon, 29 Sep 2025 18:38:55 +0300 Subject: [PATCH] chore: add systemd service Signed-off-by: NotAShelf Change-Id: I6a6a6964d88b3de5f79306867e38dfbfef2ee1af --- systemd/chroma.service | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 systemd/chroma.service diff --git a/systemd/chroma.service b/systemd/chroma.service new file mode 100644 index 0000000..54a09a5 --- /dev/null +++ b/systemd/chroma.service @@ -0,0 +1,24 @@ +[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