2020-10-26 20:56:51 +00:00
|
|
|
wlsunset(1)
|
|
|
|
|
|
|
|
# NAME
|
|
|
|
|
2024-01-17 03:35:52 +00:00
|
|
|
wlsunset - day/night gamma adjustments for Wayland compositors supporting
|
2020-10-31 00:57:31 +00:00
|
|
|
wlr-gamma-control-unstable-v1
|
2020-10-26 20:56:51 +00:00
|
|
|
|
|
|
|
# SYNOPSIS
|
|
|
|
|
|
|
|
*wlsunset* [options...]
|
|
|
|
|
|
|
|
# OPTIONS
|
|
|
|
|
|
|
|
*-h*
|
2024-01-17 03:35:52 +00:00
|
|
|
Show this help message.
|
2020-10-26 20:56:51 +00:00
|
|
|
|
|
|
|
*-T* <temp>
|
2024-01-17 03:35:52 +00:00
|
|
|
Set high temperature (default: 6500).
|
2020-10-26 20:56:51 +00:00
|
|
|
|
|
|
|
*-t* <temp>
|
2024-01-17 03:35:52 +00:00
|
|
|
Set low temperature (default: 4000).
|
2020-10-26 20:56:51 +00:00
|
|
|
|
|
|
|
*-l* <lat>
|
2024-01-17 03:35:52 +00:00
|
|
|
Set latitude (e.g. 39.9).
|
2020-10-26 20:56:51 +00:00
|
|
|
|
|
|
|
*-L* <long>
|
2024-01-17 03:35:52 +00:00
|
|
|
Set longitude (e.g. 116.3).
|
2020-10-26 20:56:51 +00:00
|
|
|
|
2021-01-29 16:32:51 +00:00
|
|
|
*-S* <sunrise>
|
2024-01-17 03:35:52 +00:00
|
|
|
Manual time for sunrise as HH:MM (e.g. 06:30).
|
2021-01-29 16:32:51 +00:00
|
|
|
|
|
|
|
*-s* <sunset>
|
2024-01-17 03:35:52 +00:00
|
|
|
Manual time for sunset as HH:MM (e.g. 18:30).
|
2021-01-29 16:32:51 +00:00
|
|
|
|
|
|
|
*-d* <duration>
|
2024-01-17 03:35:52 +00:00
|
|
|
Manual animation time in seconds (e.g. 1800).
|
2021-01-29 16:32:51 +00:00
|
|
|
|
|
|
|
Only applicable when using manual sunset/sunrise times.
|
|
|
|
|
2020-10-26 20:56:51 +00:00
|
|
|
*-g* <gamma>
|
2024-01-17 03:35:52 +00:00
|
|
|
Set gamma (default: 1.0).
|
2020-10-26 20:56:51 +00:00
|
|
|
|
2023-06-02 09:53:00 +00:00
|
|
|
# RUNTIME CONTROL
|
|
|
|
|
|
|
|
Sending SIGUSR1 to wlsunset causes it to cycle through the following modes:
|
|
|
|
|
2024-01-29 17:01:21 +00:00
|
|
|
1. Forced use of the high temperature.
|
|
|
|
|
|
|
|
2. Forced use of the low temperature.
|
|
|
|
|
|
|
|
3. Automatic temperature calculation, the default behavior.
|
2023-06-02 09:53:00 +00:00
|
|
|
|
2020-10-26 20:56:51 +00:00
|
|
|
# EXAMPLE
|
|
|
|
|
|
|
|
```
|
|
|
|
# Beijing lat/long.
|
|
|
|
wlsunset -l 39.9 -L 116.3
|
|
|
|
```
|
|
|
|
|
|
|
|
Greater precision than one decimal place serves no purpose
|
|
|
|
(https://xkcd.com/2170/) other than padding the command-line.
|
|
|
|
|
|
|
|
# AUTHORS
|
|
|
|
|
|
|
|
Maintained by Kenny Levinsen <contact@kl.wtf>. For more information about
|
|
|
|
wlsunset development, see https://sr.ht/~kennylevinsen/wlsunset.
|