Go to file
Jan Beich ec0c1614af meson: explicitly depend on libwayland for includes
On BSDs base compiler doesn't search packages by default, making it
easy for vendors to depend only on base system.

FAILED: wlsunset.p/main.c.o
cc -Iwlsunset.p -I. -I.. -Xclang -fcolor-diagnostics -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wpedantic -Werror -std=c11 -g -Wundef -Wunused -Wlogical-op -Wmissing-include-dirs -Wold-style-definition -Wpointer-arith -Wstrict-prototypes -Wimplicit-fallthrough -Wmissing-prototypes -Wno-unknown-warning-option -Wno-unused-command-line-argument -Wvla -Wl,--exclude-libs=ALL -D_USE_MATH_DEFINES -D_XOPEN_SOURCE=700 -MD -MQ wlsunset.p/main.c.o -MF wlsunset.p/main.c.o.d -o wlsunset.p/main.c.o -c ../main.c
../main.c:14:10: fatal error: 'wayland-client-protocol.h' file not found
 #include <wayland-client-protocol.h>
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
2020-11-09 15:13:08 +01: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 Minor line length reduction 2020-10-21 00:41:50 +02:00
color_math.h Move longitude time correction out of calc_sun 2020-10-19 14:18:28 +02:00
main.c Option cleanup 2020-10-21 01:41:49 +02:00
meson.build meson: explicitly depend on libwayland for includes 2020-11-09 15:13:08 +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 man: Remove reference to missing features 2020-10-31 01:57:31 +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