Hello,

I became tired of seeing witray render itself in selcolors (by
default) and changed it to use normcolors as shown below.  That's one
less distraction and more productivity for me.

diff -r 327e87c7bb2b cmd/tray/tray.c
--- a/cmd/tray/tray.c   Thu Oct 28 09:55:54 2010 -0400
+++ b/cmd/tray/tray.c   Thu Mar 24 16:21:56 2011 -0700
@@ -123,9 +123,9 @@
        borderwidth = 1;

        r = rectsetorigin(r, ZP);
-       border(tray.pixmap, r, borderwidth, &tray.selcolors.border);
+       border(tray.pixmap, r, borderwidth, &tray.normcolors.border);
        r = insetrect(r, borderwidth);
-       fill(tray.pixmap, r, &tray.selcolors.bg);
+       fill(tray.pixmap, r, &tray.normcolors.bg);
        XClearWindow(display, tray.win->xid);
 }

Enjoy.

Reply via email to