1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00

wlsunset: add page (#16269)

This commit is contained in:
Lena 2025-04-27 09:48:59 +00:00 committed by GitHub
parent 0278f068e7
commit 3f5f3a29bf
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

24
pages/common/wlsunset.md Normal file
View file

@ -0,0 +1,24 @@
# wlsunset
> Adjust the color temperature in Wayland compositors depending on the sunset/sunrise times.
> More information: <https://manned.org/wlsunset>.
- Automatically compute sunset/sunrise times based on the specified location:
`wlsunset -l {{latitude}} -L {{longitude}}`
- Manually set the sunset/sunrise times (time format: `HH:MM`):
`wlsunset -s {{sunset_time}} -S {{sunrise_time}}`
- Set the high and low temperatures (default: high - 6500, low - 4000):
`wlsunset -T {{high_temp}} -t {{low_temp}}`
- Set the animation time to `n` seconds (only applicable when using manual sunset/sunrise times):
`wlsunset -d {{n}} -s {{sunset_time}} -S {{sunrise_time}}`
- Set the gamma (default: 1.0):
`wlsunset -g {{gamma_value}}`