Adding cfacts, vanitygaps patches and bottomstack layouts

This commit is contained in:
bakkeby
2019-09-09 00:18:47 +02:00
parent 747512af21
commit e490af0eb2
18 changed files with 815 additions and 45 deletions

17
patch/cfacts.c Normal file
View File

@ -0,0 +1,17 @@
void
setcfact(const Arg *arg) {
float f;
Client *c;
c = selmon->sel;
if (!arg || !c || !selmon->lt[selmon->sellt]->arrange)
return;
f = arg->f + c->cfact;
if (arg->f == 0.0)
f = 1.0;
else if (f < 0.25 || f > 4.0)
return;
c->cfact = f;
arrange(selmon);
}