diff options
-rw-r--r-- | config.h | 9 | ||||
-rwxr-xr-x | dwm | bin | 41328 -> 41328 bytes | |||
-rw-r--r-- | dwm.c | 2 | ||||
-rw-r--r-- | dwm.o | bin | 62040 -> 62056 bytes |
4 files changed, 6 insertions, 5 deletions
@@ -7,16 +7,16 @@ static const char font[] = "DejaVu Sans:size=8"; #define NUMCOLORS 4 // need at least 3 static const char colors[NUMCOLORS][ColLast][8] = { // border foreground background - { "#3b3b3b", "#888888", "#0b0b0b" }, // 0 = normal - { "#000000", "#386dff", "#0b0b0b" }, // 1 = selected + { "#3b3b3b", "#303030", "#000000" }, // 0 = normal + { "#000000", "#386dff", "#000000" }, // 1 = selected { "#ffffff", "#808080", "#ffffaa" }, // 2 = urgent/warning { "#ffffff", "#808080", "#ffaaaa" }, // 3 = error }; static const unsigned int borderpx = 1; /* border pixel of windows */ -static const unsigned int snap = 32; /* snap pixel */ +static const unsigned int snap = 16; /* snap pixel */ static const Bool showbar = True; /* False means no bar */ static const Bool topbar = False; /* False means bottom bar */ -static const Bool showtitle = True; /* True means titles are shown on bar */ +static const Bool showtitle = False; /* True means titles are shown on bar */ /* Display modes of the tab bar: never shown, always shown, shown only in */ /* monocle mode in presence of several windows. */ @@ -141,5 +141,6 @@ static Button buttons[] = { { ClkTagBar, 0, Button3, toggleview, {0} }, { ClkTagBar, MODKEY, Button1, tag, {0} }, { ClkTagBar, MODKEY, Button3, toggletag, {0} }, + { ClkTabBar, 0, Button1, focuswin, {0} }, }; @@ -820,7 +820,7 @@ drawbar(Monitor *m) { dc.x = 0; for(i = 0; i < LENGTH(tags); i++) { dc.w = TEXTW(tags[i]); - col = (m->tagset[m->seltags] & 1 << i ? 1:(urg & 1 << i ? 2 : 0)); + col = (m->tagset[m->seltags] & 1 << i ? 1 : (urg & 1 << i ? 2 : 0)); drawtext(dc.drawable, tags[i], col, True); drawsquare(m == selmon && selmon->sel && selmon->sel->tags & 1 << i, occ & 1 << i, col); dc.x += dc.w; Binary files differ |