From a9935b7a12a522937d91cb44a0e138132b555e16 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Thu, 29 Jan 2015 00:48:11 -0500 Subject: Re-jigger to use systemd for the process monitor for the window manager --- .config/systemd/user/redshift@.service | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to '.config/systemd/user/redshift@.service') diff --git a/.config/systemd/user/redshift@.service b/.config/systemd/user/redshift@.service index 41a0b7a..149bb74 100644 --- a/.config/systemd/user/redshift@.service +++ b/.config/systemd/user/redshift@.service @@ -1,11 +1,11 @@ [Unit] Description=Redshift display colour temperature adjustment Documentation=http://jonls.dk/redshift/ +StopWhenUnneeded=true [Service] +Type=simple Environment=DISPLAY=%I ExecStart=/usr/bin/redshift +ExecStopPost=/usr/bin/redshift -x Restart=always - -[Install] -WantedBy=default.target -- cgit v1.2.3-2-g168b