aboutsummaryrefslogtreecommitdiffstats
path: root/user
diff options
context:
space:
mode:
authorDavid Runge <dave@sleepmap.de>2015-03-20 03:08:16 +0100
committerDavid Runge <dave@sleepmap.de>2015-03-20 03:08:16 +0100
commitcb8bbe5c9fc28ae7b5cfc9f302de23e6e6f6f4f4 (patch)
treeb2d1627831057d79205032756fde7b9ee07b675b /user
parentf9ac22c285ee42586375cd46b1072734856c6a0b (diff)
downloaduenv-cb8bbe5c9fc28ae7b5cfc9f302de23e6e6f6f4f4.tar.gz
uenv-cb8bbe5c9fc28ae7b5cfc9f302de23e6e6f6f4f4.tar.bz2
uenv-cb8bbe5c9fc28ae7b5cfc9f302de23e6e6f6f4f4.tar.xz
uenv-cb8bbe5c9fc28ae7b5cfc9f302de23e6e6f6f4f4.zip
compton.service: Adding a systemd --user unit for compton X compositor.
Diffstat (limited to 'user')
-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