diff options
author | Duncaen <mail@duncano.de> | 2018-11-26 22:40:00 +0100 |
---|---|---|
committer | Duncaen <mail@duncano.de> | 2018-12-31 23:30:01 +0100 |
commit | 5d793210ab26932b386b2293cf58e2d6be0c86a4 (patch) | |
tree | 9609e9e82a83d42b49a8c840730a08acf29d2075 | |
parent | 3187b235ef44c6826111297a56983b92afee2607 (diff) | |
download | dwm-5d793210ab26932b386b2293cf58e2d6be0c86a4.tar.gz |
allow rules to disable borders
-rw-r--r-- | dwm.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -138,6 +138,7 @@ typedef struct { unsigned int tags; int isfloating; int monitor; + int border; } Rule; /* function declarations */ @@ -300,6 +301,8 @@ applyrules(Client *c) && (!r->class || strstr(class, r->class)) && (!r->instance || strstr(instance, r->instance))) { + if (!r->border) + c->bw = 0; c->isfloating = r->isfloating; c->tags |= r->tags; for (m = mons; m && m->num != r->monitor; m = m->next); |