summaryrefslogtreecommitdiff
path: root/.config/systemd/user/picom.service
diff options
context:
space:
mode:
authorJoe Rayhawk <jrayhawk@fairlystable.org>2024-11-12 23:02:38 -0800
committerJoe Rayhawk <jrayhawk@fairlystable.org>2024-11-12 23:02:38 -0800
commit6f21a1d52ce4fbdc0cafd76c91b74b0e1b644c2d (patch)
tree4fe60ee5c88c9115cc423937e086e4ccd54f3408 /.config/systemd/user/picom.service
parent93ac3e64c20df46e46375db7eedbf7157f654967 (diff)
downloadjrayhawk-dotfiles-6f21a1d52ce4fbdc0cafd76c91b74b0e1b644c2d.tar.gz
jrayhawk-dotfiles-6f21a1d52ce4fbdc0cafd76c91b74b0e1b644c2d.zip
Composited electricsheep background services
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
+
+