dotfiles

config files for my linux setup
git clone git://edryd.org/dotfiles
Log | Files | Refs | README

tabbed-0.5-autohide.diff (434B)


      1 diff -up a/tabbed.c b/tabbed.c
      2 --- a/tabbed.c	2013-06-24 14:34:47.208245039 +0200
      3 +++ b/tabbed.c	2013-06-24 14:36:58.423921877 +0200
      4 @@ -311,6 +311,12 @@ drawbar(void) {
      5  		return;
      6  	}
      7  
      8 +	if (nclients == 1) {
      9 +		XMoveResizeWindow(dpy, clients[0]->win, 0, 0, ww, wh - 0);
     10 +		return;
     11 +	} else if (nclients == 2)
     12 +		XMoveResizeWindow(dpy, clients[1]->win, 0, bh, ww, wh - bh);
     13 +
     14  	width = ww;
     15  	cc = ww / tabwidth;
     16  	if (nclients > cc)