f2f11dada2
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. |
||
---|---|---|
.build.yml | ||
LICENSE | ||
README.md | ||
color_math.c | ||
color_math.h | ||
main.c | ||
meson.build | ||
wlr-gamma-control-unstable-v1.xml |
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