add systemd user session garbage for pc and work laptop - dotfiles - 🍚 personal arsenal of "rice"
HTML git clone https://git.drkhsh.at/dotfiles.git
DIR Log
DIR Files
DIR Refs
DIR Submodules
DIR README
DIR LICENSE
---
DIR commit 6cf3f82ace25b7acd2f2f5680a0bc8b2f4f01e32
DIR parent 27152667a7290be7bfab8a7358607dc3b9007c76
HTML Author: drkhsh <me@drkhsh.at>
Date: Thu, 12 Jun 2025 01:02:03 +0200
add systemd user session garbage for pc and work laptop
Diffstat:
A systemd/.config/systemd/user/picom… | 15 +++++++++++++++
A systemd/.config/systemd/user/xorg.… | 3 +++
2 files changed, 18 insertions(+), 0 deletions(-)
---
DIR diff --git a/systemd/.config/systemd/user/picom.service b/systemd/.config/systemd/user/picom.service
@@ -0,0 +1,15 @@
+[Unit]
+Description=Picom compositor
+Documentation=man:picom(1)
+PartOf=xorg.target
+StartLimitBurst=3
+StartLimitIntervalSec=60
+
+[Service]
+ExecStart=/usr/bin/picom
+ExecReload=/usr/bin/kill -SIGUSR1 $MAINPID
+Restart=always
+RestartSec=5
+
+[Install]
+WantedBy=xorg.target
DIR diff --git a/systemd/.config/systemd/user/xorg.target b/systemd/.config/systemd/user/xorg.target
@@ -0,0 +1,3 @@
+[Unit]
+Description=Xorg session
+BindsTo=graphical-session.target