Go to file
Kenny Levinsen f2f11dada2 Add SPEEDRUN mode, improve sleep timing
Add a SPEEDRUN define which, if set, will run wlsunset at 200x
super-realtime to aid testing.

Sleep timing calculations were approximated and often off. These have
been adjusted from testing using the SPEEDRUN feature.
2020-09-20 17:26:27 +02:00
.build.yml ci: Build on alpine 2020-09-13 22:07:19 +02: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 Fix stricter build errors 2020-09-13 21:38:56 +02:00
color_math.h Use sun trajectory 2020-09-13 21:12:44 +02:00
main.c Add SPEEDRUN mode, improve sleep timing 2020-09-20 17:26:27 +02:00
meson.build Fix stricter build errors 2020-09-13 21:38:56 +02:00
wlr-gamma-control-unstable-v1.xml Initial commit 2020-09-12 20:13:28 +02: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