diff options
author | David Runge <dave@sleepmap.de> | 2015-03-20 03:08:16 +0100 |
---|---|---|
committer | David Runge <dave@sleepmap.de> | 2015-03-20 03:08:16 +0100 |
commit | cb8bbe5c9fc28ae7b5cfc9f302de23e6e6f6f4f4 (patch) | |
tree | b2d1627831057d79205032756fde7b9ee07b675b | |
parent | f9ac22c285ee42586375cd46b1072734856c6a0b (diff) | |
download | uenv-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.
-rw-r--r-- | user/compton.service | 13 |
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 |