{ "Gimp.*", { 0 }, True},
};
-/* extern */
-
-/* CUSTOMIZE */
char *tags[TLast] = {
[Tscratch] = "scratch",
[Tdev] = "dev",
[Twww] = "www",
[Twork] = "work",
};
+
void (*arrange)(Arg *) = dotile;
+/* END CUSTOMIZE */
+
+/* extern */
+
void
appendtag(Arg *arg)
{
{
Client *c;
- arrange = dofloat;
for(c = clients; c; c = c->next) {
+ c->ismax = False;
if(c->tags[tsel]) {
resize(c, True, TopLeft);
}
Client *c;
w = sw - mw;
- arrange = dotile;
for(n = 0, c = clients; c; c = c->next)
if(c->tags[tsel] && !c->isfloat)
n++;
h = sh - bh;
for(i = 0, c = clients; c; c = c->next) {
+ c->ismax = False;
if(c->tags[tsel]) {
if(c->isfloat) {
higher(c);
c->tags[tsel] = tags[tsel];
}
+void
+togglemode(Arg *arg)
+{
+ arrange = arrange == dofloat ? dotile : dofloat;
+ arrange(NULL);
+}
+
void
view(Arg *arg)
{