aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--user/compton.service13
1 files changed, 13 insertions, 0 deletions
diff --git a/user/compton.service b/user/compton.service
new file mode 100644
index 0000000..53466b2
--- /dev/null
+++ b/user/compton.service
@@ -0,0 +1,13 @@
+[Unit]
+Description=Compton X Compositor
+After=display-manager.service local-fs.target
+ConditionFileIsExecutable=/usr/bin/compton
+ConditionKernelCommandLine=!systemd.setenv=REALTIME=true
+
+[Service]
+Type=forking
+ExecStart=/usr/bin/compton --config %h/.config/compton.conf -b
+Restart=always
+
+[Install]
+WantedBy=default.target