fix: signal waybar after wlsunset starts to update nightlight icon
Waybar starts before wlsunset (due to ExecStartPre sleep) and only checks the service status once. ExecStartPost sends SIGRTMIN+11 so waybar refreshes the nightlight module after wlsunset is ready.
This commit is contained in:
@@ -12,6 +12,7 @@ Type=simple
|
||||
# Give kanshi time to configure all outputs before wlsunset captures them
|
||||
ExecStartPre=/bin/sleep 2
|
||||
ExecStart=/usr/bin/wlsunset -T 6500 -t 5000 -S 00:00 -s 00:01
|
||||
ExecStartPost=/usr/bin/pkill -RTMIN+11 waybar
|
||||
Restart=on-failure
|
||||
RestartSec=3
|
||||
|
||||
|
||||
Reference in New Issue
Block a user