Wheee, 

forgot to include the patch. :-P

Never mind. Where is it implemented? I don't get the src snippet. :-P

On Mon, Oct 08, 2007 at 10:57:51AM +0200, Enno Gottox Boland wrote:
> Oh wow!
> 
> A zero lines patch with a feature which is already included in dwm :)
> 
> 2007/10/8, Frederic 'jchome' Jaeckel <[EMAIL PROTECTED]>:
> > Hey,
> >
> > I wrote a patch for dwm moving the bar from bottom to top and way
> > round.. maybe its interesting for some people.
--- 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;

Reply via email to