};
/* Query class:instance:title for regex matching info with following command:
- * xprop | awk -F '"' '/^WM_CLASS/ { printf("%s:%s:",$4,$2) }; /^WM_NAME/{ printf("%s\n",$2) }' */
+ * xprop | awk -F '"' '/^WM_CLASS/ { printf("%s:%s:",$4,$2) }; /^WM_NAME/ { printf("%s\n",$2) }' */
#define RULES \
static Rule rule[] = { \
/* class:instance:title regex tags regex isfloat */ \
int i, x;
dc.x = dc.y = 0;
- dc.w = bw;
- drawtext(NULL, dc.status, False);
for(i = 0; i < ntags; i++) {
dc.w = textw(tags[i]);
if(seltag[i])
}
drawtext(stext, dc.status, False);
- if(sel && ((dc.w = dc.x - x) > bh)) {
+ if((dc.w = dc.x - x) > bh) {
dc.x = x;
- drawtext(sel->name, dc.sel, False);
+ if(sel)
+ drawtext(sel->name, dc.sel, False);
+ else
+ drawtext(NULL, dc.norm, False);
}
XCopyArea(dpy, dc.drawable, barwin, dc.gc, 0, 0, bw, bh, 0, 0);
XSync(dpy, False);
.TP
.B Button1
click on a tag label views all windows with that
-.BR tag .
+.BR tag ,
+click on the mode label toggles between
+.B tiled
+and
+.B floating
+mode.
.TP
.B Button3
click on a tag label adds/removes all windows with that