Go to file
Artur Sinila afc09a90c6 Support running only for specific outputs (displays)
Useful for laptops with external displays connected. External displays
usually have an ability to adjust color temperature via built-in menu,
so you can run `wlsunset` exclusively for laptop's internal display.

Also different screens happen to look differently after setting the same
color temperature. Possibly has to do with the technology which
display is based on (TN or IPS).
2022-01-25 11:22:20 +01:00
.builds ci: Add FreeBSD to CI 2020-11-09 17:11:37 +01:00
.editorconfig Add .editorconfig 2022-01-16 14:35:34 +01:00
.gitignore Add .gitignore 2022-01-24 13:36:50 +01:00
LICENSE Add license 2020-09-12 20:56:26 +02:00
README.md Support running only for specific outputs (displays) 2022-01-25 11:22:20 +01: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 Support running only for specific outputs (displays) 2022-01-25 11:22:20 +01:00
meson.build Support running only for specific outputs (displays) 2022-01-25 11:22:20 +01:00
meson_options.txt Add manpage 2020-10-27 10:10:09 +01:00
str_vec.c Support running only for specific outputs (displays) 2022-01-25 11:22:20 +01:00
str_vec.h Support running only for specific outputs (displays) 2022-01-25 11:22:20 +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
xdg-output-unstable-v1.xml Support running only for specific outputs (displays) 2022-01-25 11:22:20 +01:00

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