From cb8bbe5c9fc28ae7b5cfc9f302de23e6e6f6f4f4 Mon Sep 17 00:00:00 2001 From: David Runge Date: Fri, 20 Mar 2015 03:08:16 +0100 Subject: compton.service: Adding a systemd --user unit for compton X compositor. --- user/compton.service | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 user/compton.service (limited to 'user') 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 -- cgit v1.2.3-70-g09d2