wlsunset: require WAYLAND_DISPLAY env var
This commit is contained in:
parent
a53beb6353
commit
561bd67464
2 changed files with 2 additions and 0 deletions
|
|
@ -131,6 +131,7 @@ in
|
|||
Description = "Day/night gamma adjustments for Wayland compositors.";
|
||||
After = [ cfg.systemdTarget ];
|
||||
PartOf = [ cfg.systemdTarget ];
|
||||
ConditionEnvironment = "WAYLAND_DISPLAY";
|
||||
};
|
||||
|
||||
Service = {
|
||||
|
|
|
|||
|
|
@ -6,5 +6,6 @@ ExecStart=@wlsunset@/bin/wlsunset -L128.8 -T6000 -g0.6 -l12.3 -t3500
|
|||
|
||||
[Unit]
|
||||
After=test.target
|
||||
ConditionEnvironment=WAYLAND_DISPLAY
|
||||
Description=Day/night gamma adjustments for Wayland compositors.
|
||||
PartOf=test.target
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue