--- dwm-4.5/dwm.c 2007-09-22 09:11:13.000000000 +0200 +++ dwm-4.5a/dwm.c 2007-10-05 08:50:52.000000000 +0200 @@ -173,6 +173,7 @@ unsigned int textw(const char *text); void tile(void); void togglebar(const char *arg); +void movebar(const char *arg); void togglefloating(const char *arg); void togglemax(const char *arg); void toggletag(const char *arg); @@ -1615,6 +1616,16 @@ } void +movebar(const char *arg) { + if(bpos == BarTop) + bpos = BarBot; + else + bpos = BarTop; + updatebarpos(); + arrange(); +} + +void togglefloating(const char *arg) { if(!sel) return;