aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEduardo Pedroni <e.pedroni91@gmail.com>2015-03-28 00:56:36 -0300
committerEduardo Pedroni <e.pedroni91@gmail.com>2015-03-28 00:56:36 -0300
commit254990b4b9f5aa9693aa66d1c140907b2d0a12e4 (patch)
treebd344958955bf71d3e82c04be8ab3b85f66b700a
parent41e8fd092ba9ec0a1fbc6fab1826faa5e5775ba8 (diff)
Xft looks good enough, so pango is scrapped, also did some tweaks to config.h
-rw-r--r--config.h9
-rwxr-xr-xdwmbin41328 -> 41328 bytes
-rw-r--r--dwm.c2
-rw-r--r--dwm.obin62040 -> 62056 bytes
4 files changed, 6 insertions, 5 deletions
diff --git a/config.h b/config.h
index 7581d6e..1ffc596 100644
--- a/config.h
+++ b/config.h
@@ -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} },
};
diff --git a/dwm b/dwm
index a83fa32..5cdafd8 100755
--- a/dwm
+++ b/dwm
Binary files differ
diff --git a/dwm.c b/dwm.c
index 3c9904f..37a8b6a 100644
--- a/dwm.c
+++ b/dwm.c
@@ -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;
diff --git a/dwm.o b/dwm.o
index c7bbea1..bca1ae7 100644
--- a/dwm.o
+++ b/dwm.o
Binary files differ