5afa1d2819
When entering manual time, the timezone was adjusted in the time input instead of storing the time offset. The time offset is necessary to calculate the correct day boundaries. Remove the timezone correction of time input and instead adjust the time offset accordingly. |
||
---|---|---|
.builds | ||
.editorconfig | ||
.gitignore | ||
LICENSE | ||
README.md | ||
color_math.c | ||
color_math.h | ||
main.c | ||
meson.build | ||
meson_options.txt | ||
str_vec.c | ||
str_vec.h | ||
wlr-gamma-control-unstable-v1.xml | ||
wlsunset.1.scd | ||
xdg-output-unstable-v1.xml |
README.md
wlsunset
Day/night gamma adjustments for Wayland compositors supporting wlr-gamma-control-unstable-v1
& xdg-output-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 @ irc.libera.chat to discuss, or use ~kennylevinsen/wlsunset-devel@lists.sr.ht