shithub: 9scripts

ref: 7923e9afe0182b0a723e80f93b0eec30020549ca
dir: /patches/winwatch.patch/

View raw version
diff -r 297026d9dc30 sys/src/cmd/winwatch.c
--- a/sys/src/cmd/winwatch.c	Thu Feb 18 21:40:30 2021 +0100
+++ b/sys/src/cmd/winwatch.c	Thu Feb 25 10:45:25 2021 -0800
@@ -339,12 +339,12 @@
 
 	if(initdraw(0, fontname, "winwatch") < 0)
 		sysfatal("initdraw: %r");
-	lightblue = allocimagemix(display, DPalebluegreen, DWhite);
+	lightblue = allocimage(display, Rect(0,0,1,1), screen->chan, 1, 0x9a9a9aFF);
 
-	statecol[0] = allocimage(display, Rect(0,0,1,1), screen->chan, 1, 0xCCCCCCFF);
-	statecol[1] = lightblue;
-	statecol[2] = lightblue;
-	statecol[3] = allocimage(display, Rect(0,0,1,1), screen->chan, 1, DPalegreygreen);
+	statecol[0] = lightblue;
+	statecol[1] = allocimage(display, Rect(0,0,1,1), screen->chan, 1, 0x777777FF);
+	statecol[2] = allocimage(display, Rect(0,0,1,1), screen->chan, 1, 0xaaaaaaFF);
+	statecol[3] = allocimage(display, Rect(0,0,1,1), screen->chan, 1, 0xccccccFF);
 
 	for(i=0; i<nelem(statecol); i++)
 		if(statecol[i] == nil)