summary refs log tree commit diff
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2018-07-22 18:28:00 -0400
committerJune McEnroe <june@causal.agency>2018-07-22 18:28:00 -0400
commit8a1de515f659ea84ae1cddbe341434e58579a085 (patch)
treeeab1840734a5a37c0ae7a393497e43d7796dbfa3
parentAdd -m option to glitch (diff)
downloadsrc-8a1de515f659ea84ae1cddbe341434e58579a085.tar.gz
src-8a1de515f659ea84ae1cddbe341434e58579a085.zip
Fix scheme indentation
Diffstat (limited to '')
-rw-r--r--bin/scheme.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/bin/scheme.c b/bin/scheme.c
index e85b7dbb..402a12c3 100644
--- a/bin/scheme.c
+++ b/bin/scheme.c
@@ -26,23 +26,23 @@
 #include <zlib.h>
 
 static const struct Hsv { double h, s, v; }
-R = {   0.0, 1.0, 1.0 },
-  Y = {  60.0, 1.0, 1.0 },
-  G = { 120.0, 1.0, 1.0 },
-  C = { 180.0, 1.0, 1.0 },
-  B = { 240.0, 1.0, 1.0 },
-  M = { 300.0, 1.0, 1.0 };
+	R = {   0.0, 1.0, 1.0 },
+	Y = {  60.0, 1.0, 1.0 },
+	G = { 120.0, 1.0, 1.0 },
+	C = { 180.0, 1.0, 1.0 },
+	B = { 240.0, 1.0, 1.0 },
+	M = { 300.0, 1.0, 1.0 };
 
 static struct Hsv x(struct Hsv o, double hd, double sf, double vf) {
 	return (struct Hsv) {
 		fmod(o.h + hd, 360.0),
-			fmin(o.s * sf, 1.0),
-			fmin(o.v * vf, 1.0),
+		fmin(o.s * sf, 1.0),
+		fmin(o.v * vf, 1.0),
 	};
 }
 
+enum { BLACK, RED, GREEN, YELLOW, BLUE, MAGENTA, CYAN, WHITE };
 struct Ansi {
-	enum { BLACK, RED, GREEN, YELLOW, BLUE, MAGENTA, CYAN, WHITE };
 	struct Hsv dark[8];
 	struct Hsv light[8];
 };
4a210885ba6beb96ba2e1ef5895c09c&follow=1'>Use scrot for up -s if no screencaptureJune McEnroe 2021-02-07Enable mouse acceleration in XJune McEnroe 2021-02-07Set colours for Xt and cwmJune McEnroe 2021-02-07Set urgency on bell in xtermJune McEnroe 2021-02-07Add bindings for brightness controlJune McEnroe 2021-02-07Set X key repeat rateJune McEnroe 2021-02-07Bump font size to 12June McEnroe 2021-02-07Fully configure and rebind cwmJune McEnroe 2021-02-07Add BintiJune McEnroe 2021-02-07Finish configuring xtermJune McEnroe 2021-02-06Enable tapping, reverse scroll, set scaling in wsconsctlJune McEnroe 2021-02-06Set root window to black on purple snowJune McEnroe 2021-02-06Add xmodmap configurationJune McEnroe 2021-02-06Add initial OpenBSD X configurationJune McEnroe 2021-02-06Add xterm output to schemeJune McEnroean>Add png target in etc/psfJune McEnroe 2018-09-28Disable visual bell in light terminal profileJune McEnroe 2018-09-28Add psf2pngJune McEnroe 2018-09-27Add HJKL for moving glyphs to psfedJune McEnroe 2018-09-27Move psfed paste to edit modeJune McEnroe 2018-09-27Export PWDJune McEnroe Without it, $(PWD) is unset in GNU make. 2018-09-27Add sans6x8 PSF2 fontJune McEnroe 2018-09-26Add copy paste to psfedJune McEnroe 2018-09-25Add r to psfed for invertJune McEnroe 2018-09-24Add psfed, a PSF2 font editorJune McEnroe 2018-09-21Add scheme -i to swap white and blackJune McEnroe 2018-09-21Map caps lock to escape on Linux consoleJune McEnroe 2018-09-19Fix README mandoc lintsJune McEnroe 2018-09-19Un-NOT trans.alpha values in pngoJune McEnroe 2018-09-18Refactor reads in pngo and clear palette between filesJune McEnroe 2018-09-17Add tRNS support to pngoJune McEnroe 2018-09-11Move gfx man pages to gfx/manJune McEnroe 2018-09-11Move bin man pages to bin/manJune McEnroe 2018-09-11Rewrite gfx.7 and render plaintext READMEJune McEnroe 2018-09-11Remove GAMES from BINSJune McEnroe 2018-09-11Rewrite bin.7 and render to plaintext READMEJune McEnroe 2018-09-11Add "blank" lines to man pagesJune McEnroe 2018-09-10Add mdoc syntax fileJune McEnroe 2018-09-08Fix Nm usage in multi-name man pagesJune McEnroe 2018-09-08Put real dates on man pagesJune McEnroe 2018-09-08Replace gfx README with REAMDE.7June McEnroe 2018-09-08Link gfx man pages in ~/.localJune McEnroe