Go to file
Kenny Levinsen 111181106e Add support for manual sunset/sunrise
The new -S/-s/-d flags allow for manually specifying the time of sunset,
ssunrise in the format of HH:MM, and the transitional animation duration
in seconds, respectively.

This is implemented by sidestepping the calc_sun call in manual mode.
The rest of wlsunset operates as usual.
2021-01-29 17:32:51 +01:00
.builds ci: Add FreeBSD to CI 2020-11-09 17:11:37 +01:00
LICENSE Add license 2020-09-12 20:56:26 +02:00
README.md readme: Add IRC and mailing list note 2020-09-20 03:54:16 +02:00
color_math.c Use illuminant D for the majority of temperatures 2020-11-11 16:40:37 +01:00
color_math.h Move longitude time correction out of calc_sun 2020-10-19 14:18:28 +02:00
main.c Add support for manual sunset/sunrise 2021-01-29 17:32:51 +01:00
meson.build meson: Disable implicit-fallthrough 2020-11-09 21:50:21 +01:00
meson_options.txt Add manpage 2020-10-27 10:10:09 +01:00
wlr-gamma-control-unstable-v1.xml Initial commit 2020-09-12 20:13:28 +02:00
wlsunset.1.scd Add support for manual sunset/sunrise 2021-01-29 17:32:51 +01:00

README.md

wlsunset

Day/night gamma adjustments for Wayland compositors supporting wlr-gamma-control-unstable-v1.

How to build and install

meson build
ninja -C build
sudo ninja -C build install

How to use

See the helptext (wlsunset -h)

Example

# Beijing lat/long.
wlsunset -l 39.9 -L 116.3

Greater precision than one decimal place serves no purpose other than padding the command-line.

Help

Go to #kennylevinsen @ chat.freenode.net to discuss, or use ~kennylevinsen/public-inbox@lists.sr.ht