summaryrefslogtreecommitdiff
path: root/.config/systemd/user/redshift@.service
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2015-01-29 12:13:43 -0500
committerLuke Shumaker <lukeshu@sbcglobal.net>2015-01-29 12:13:43 -0500
commitcbd6ae1cc7374e9c825642751bfa146c7cc0a5a8 (patch)
tree4deb4424b115b3215bc696ac467149368b97d79d /.config/systemd/user/redshift@.service
parentaf7fca016ab0e83c129147f8102dc8ee893571a8 (diff)
parenta19e716cf26fa4a67fe676d0822c96425d528903 (diff)
Merge branch 'gluglugt60-par'
Diffstat (limited to '.config/systemd/user/redshift@.service')
-rw-r--r--.config/systemd/user/redshift@.service11
1 files changed, 11 insertions, 0 deletions
diff --git a/.config/systemd/user/redshift@.service b/.config/systemd/user/redshift@.service
new file mode 100644
index 0000000..149bb74
--- /dev/null
+++ b/.config/systemd/user/redshift@.service
@@ -0,0 +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