[dwm] clients per tag patch (v2)

From: pancake <pancake_AT_youterm.com>
Date: Sun, 10 Jun 2007 17:50:52 +0200

When the first char is '^' is handled as a toggable.

        { MODKEY, XK_w, clientspertag, "^2" }, \

void clientspertag(const char *arg) {
       if (arg[0]=='^') {
               if (!cpt) cpt = atoi(arg+1);
               else cpt = 0;
       } else cpt = atoi(arg);
       lt->arrange();
}

  --pancake
Received on Sun Jun 10 2007 - 17:50:59 UTC

This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 14:44:12 UTC