1
0
mirror of https://github.com/frebib/dotfiles.git synced 2024-06-14 12:57:23 +00:00
dotfiles/systemd/user/redshift.service
Joe Groocock 8142cdf82f
systemd: add missing WantedBy= properties to user units
This fixes some inconsistent and incorrect startup order of the
graphical and desktop targets. xprofile will now always run as part of
xorg.target, which is before all other X-related applications that
require those settings to be in place beforehand.

Signed-off-by: Joe Groocock <me@frebib.net>
2021-02-01 13:44:12 +00:00

14 lines
284 B
Desktop File

[Unit]
Description=Redshift display colour temperature adjustment
Documentation=http://jonls.dk/redshift/
Requires=xorg.target
ConditionPathExists=/usr/bin/redshift
[Service]
Slice=session.slice
ExecStart=/usr/bin/redshift
Restart=always
[Install]
WantedBy=graphical-session.target