From 5f9699734c9e58552a58f2708fed925986158f61 Mon Sep 17 00:00:00 2001 From: Teddy Wing Date: Wed, 3 Mar 2021 23:08:20 +0100 Subject: Try inverting display colours Invert the screen colours for as long as the program is active. Only works on the main display currently. Inspired by Nikolai Ruhe's (https://stackoverflow.com/users/104790/nikolai-ruhe) answer on Stack Overflow about screen colour inversion: https://stackoverflow.com/questions/14163788/how-does-on-screen-color-inversion-work-in-os-x/14165523#14165523 and this question: https://stackoverflow.com/questions/32823023/permanently-modifying-rgb-gamma-table --- Makefile | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 Makefile (limited to 'Makefile') diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..b6b403c --- /dev/null +++ b/Makefile @@ -0,0 +1,2 @@ +all: + clang -x objective-c -framework Coregraphics -o invert-catalina-invert main.m -- cgit v1.2.3