summaryrefslogtreecommitdiff
path: root/.config/systemd/user/picom.service
diff options
context:
space:
mode:
Diffstat (limited to '.config/systemd/user/picom.service')
-rw-r--r--.config/systemd/user/picom.service9
1 files changed, 9 insertions, 0 deletions
diff --git a/.config/systemd/user/picom.service b/.config/systemd/user/picom.service
new file mode 100644
index 0000000..22b69dc
--- /dev/null
+++ b/.config/systemd/user/picom.service
@@ -0,0 +1,9 @@
+[Unit]
+Description=Picom X11 Compositor
+ConditionEnvironment=DISPLAY
+
+[Service]
+ExecCondition=sh -c "! echo $WAYLAND_DISPLAY | grep -q ."
+ExecStart=picom --write-pid-path=%t/picom.pid
+
+