Commit Graph

15 Commits (aa8015064ae8814dd8fa45eeda3b35780aa1b8d2)

Author SHA1 Message Date
Kenny Levinsen c59bbbd6e3 Remove xdg-output support
xdg-output was used to extract the output name, which can be obtained
from wl_output as of interface version 4, release in Wayland 1.20 almost
two years ago.
2023-09-01 15:00:28 +02:00
Kenny Levinsen eac926fc21 Bump version to 0.3.0 2023-05-24 16:47:43 +02:00
Kenny Levinsen 8d1067a5aa Move feature defines to C files 2022-05-04 10:58:42 +02:00
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
Kenny Levinsen 7be432057f meson: Copy seatd's scdoc handling
This fixes cross-compiling, and avoids unnecessary search for a shell.
2021-04-30 20:03:43 +02:00
Kenny Levinsen 21763c66a1 Bump version to 0.2.0 2021-04-25 22:56:30 +02:00
Kenny Levinsen 53d19e4c76 Add version command line flag 2021-02-01 13:24:17 +01:00
Kenny Levinsen 49ad3ce7a8 meson: Disable implicit-fallthrough
Clang cannot decide how it wishes to handle implicit-fallthrough, with
different solutions across different versions, which presents a problem
on FreeBSD where several majors of clang remain relevant.

Disable implicit-fallthrough until clang has figured out what it wants
to do in life.
2020-11-09 21:50:21 +01:00
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
Rohan Kumar fa2bd44253 Add manpage 2020-10-27 10:10:09 +01:00
Kenny Levinsen 601e15080e Perform absolute sleeps 2020-10-04 19:49:45 +02:00
Kenny Levinsen 88a6d1dd17 Fix stricter build errors 2020-09-13 21:38:56 +02:00
Kenny Levinsen 4f8559405f Move math out of main 2020-09-13 03:22:18 +02:00
Kenny Levinsen b45f5b7d31 Add license 2020-09-12 20:56:26 +02:00
Kenny Levinsen 09e4710ae2 Initial commit 2020-09-12 20:13:28 +02:00