sites

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs

commit 431e32310b9a9332442732df97fa0d138dd817b6
parent 397e9539443adccd7e66237edff31607530d2b0f
Author: Anselm R Garbe <garbeam@gmail.com>
Date:   Mon, 24 Jun 2013 18:48:28 +0200

Merge branch 'master' of ssh://suckless.org/gitrepos/sites

Diffstat:
Mdwm.suckless.org/dwmstatus/fifo.c | 2+-
Mtools.suckless.org/tabbed/patches/autohide.md | 4+++-
Atools.suckless.org/tabbed/patches/tabbed-0.5-autohide.diff | 16++++++++++++++++
3 files changed, 20 insertions(+), 2 deletions(-)

diff --git a/dwm.suckless.org/dwmstatus/fifo.c b/dwm.suckless.org/dwmstatus/fifo.c @@ -31,7 +31,7 @@ snotif() } close(f); - buf[len-1] = '\0'; + buf[len-1] = ' '; return smprintf("%s",buf); } diff --git a/tools.suckless.org/tabbed/patches/autohide.md b/tools.suckless.org/tabbed/patches/autohide.md @@ -6,8 +6,10 @@ This patch hides the tab bar if only one tab is open. Download -------- * [tabbed-0.4.1-autohide.diff](tabbed-0.4.1-autohide.diff) +* [tabbed-0.5-autohide.diff](tabbed-0.5-autohide.diff) Author ------ * original author Carlos Pita - <carlosjosepita_AT_gmail.com> -* 0.4.1 Doomicide - <dm_AT_archlinux.info> +* 0.4.1 Maximilian Dietrich - <dxm_AT_lavabit.com> +* 0.5 Maximilian Dietrich - <dxm_AT_lavabit.com> diff --git a/tools.suckless.org/tabbed/patches/tabbed-0.5-autohide.diff b/tools.suckless.org/tabbed/patches/tabbed-0.5-autohide.diff @@ -0,0 +1,16 @@ +diff -up ./tabbed.c ../tabbed-0.5/tabbed.c +--- ./tabbed.c 2013-06-24 14:34:47.208245039 +0200 ++++ ../tabbed-0.5/tabbed.c 2013-06-24 14:36:58.423921877 +0200 +@@ -311,6 +311,12 @@ drawbar(void) { + return; + } + ++ if (nclients == 1) { ++ XMoveResizeWindow(dpy, clients[0]->win, 0, 0, ww, wh - 0); ++ return; ++ } else if (nclients == 2) ++ XMoveResizeWindow(dpy, clients[1]->win, 0, bh, ww, wh - bh); ++ + width = ww; + clients[nclients-1]->tabx = -1; + fc = getfirsttab();