aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTeddy Wing2021-03-04 23:54:54 +0100
committerTeddy Wing2021-03-04 23:54:54 +0100
commit9b03e41acfcf22e1ba3449a03a693996bb204bdc (patch)
treea011c00424b0217887d6a48b22ea907cd71af4f6
parentaea4d2b64d3a0017c4a68b03acb5bbd063a08ab9 (diff)
downloadRe-Good-Catalina-Invert-Colours-9b03e41acfcf22e1ba3449a03a693996bb204bdc.tar.bz2
Reset colours to their original state
Found an easy function to remove the colour inversion. Now I need to enable toggling between the two with a keyboard shortcut.
-rw-r--r--main.m4
1 files changed, 3 insertions, 1 deletions
diff --git a/main.m b/main.m
index 6613b2a..9ea3d37 100644
--- a/main.m
+++ b/main.m
@@ -30,7 +30,9 @@ int main(int argc, const char * argv[]) {
}
}
- for (;;) {}
+ sleep(4);
+
+ CGDisplayRestoreColorSyncSettings();
return 0;
}