about summary refs log tree commit diff
path: root/dwm.c
diff options
context:
space:
mode:
authorManuel Palenzuela <manuelpalenzuelamerino@gmail.com>2019-06-11 00:13:14 +0200
committerManuel Palenzuela <manuelpalenzuelamerino@gmail.com>2019-06-11 00:13:14 +0200
commit8fea4e55cda7ee8f6263271dc718901d5fa85bbf (patch)
treec97cd69213250fe7ad3403cb1589ce73026f5f7b /dwm.c
parentUpdated status bar (diff)
downloaddwm-8fea4e55cda7ee8f6263271dc718901d5fa85bbf.tar.gz
dwm-8fea4e55cda7ee8f6263271dc718901d5fa85bbf.tar.bz2
dwm-8fea4e55cda7ee8f6263271dc718901d5fa85bbf.zip
Added separation of colors in config.h for title bar [Patch]
Diffstat (limited to 'dwm.c')
-rw-r--r--dwm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/dwm.c b/dwm.c
index e6686fc..60393f3 100644
--- a/dwm.c
+++ b/dwm.c
@@ -61,7 +61,7 @@
 
 /* enums */
 enum { CurNormal, CurResize, CurMove, CurLast }; /* cursor */
-enum { SchemeNorm, SchemeSel }; /* color schemes */
+enum { SchemeNorm, SchemeSel, SchemeTitle }; /* color schemes */
 enum { NetSupported, NetWMName, NetWMState, NetWMCheck,
        NetWMFullscreen, NetActiveWindow, NetWMWindowType,
        NetWMWindowTypeDialog, NetClientList, NetDesktopNames, NetDesktopViewport, NetNumberOfDesktops, NetCurrentDesktop, NetLast }; /* EWMH atoms */
@@ -760,7 +760,7 @@ drawbar(Monitor *m)
 
 	if ((w = m->ww - sw - x) > bh) {
 		if (m->sel) {
-			drw_setscheme(drw, scheme[m == selmon ? SchemeSel : SchemeNorm]);
+      drw_setscheme(drw, scheme[m == selmon ? SchemeTitle : SchemeNorm]);
 			drw_text(drw, x, 0, w, bh, lrpad / 2, m->sel->name, 0);
 			if (m->sel->isfloating)
 				drw_rect(drw, x + boxs, boxs, boxw, boxw, m->sel->isfixed, 0);