Skip to content

Commit 1b81204

Browse files
committed
wlsunset: Start after graphical-session
1 parent def0dbb commit 1b81204

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

modules/services/wlsunset.nix

+1
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,7 @@ in {
129129
Unit = {
130130
Description = "Day/night gamma adjustments for Wayland compositors.";
131131
PartOf = [ "graphical-session.target" ];
132+
After = [ "graphical-session.target" ];
132133
};
133134

134135
Service = {

tests/modules/services/wlsunset/wlsunset-service-expected.service

+1
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,6 @@ WantedBy=test.target
55
ExecStart=@wlsunset@/bin/wlsunset -L 128.8 -T 6000 -g 0.6 -l 12.3 -t 3500
66

77
[Unit]
8+
After=graphical-session.target
89
Description=Day/night gamma adjustments for Wayland compositors.
910
PartOf=graphical-session.target

0 commit comments

Comments
 (0)