1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-07-07 16:15:30 +02:00
tldr/pages/common/wlsunset.md

25 lines
737 B
Markdown
Raw Normal View History

2025-04-27 09:48:59 +00:00
# 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}}`