Re: [dev] [sbase] [patch] Add hostname

2013-08-20 Thread Truls Becken
I guess usage should be eprintf("usage: %s [name]\n", argv0); Could use puts(buf); instead of printf("%s\n", buf); -Truls

Re: [dev] [sbase] [patch] Add hostname

2013-08-20 Thread sin
On Tue, Aug 20, 2013 at 09:41:10AM +0200, Truls Becken wrote: > I guess usage should be eprintf("usage: %s [name]\n", argv0); Yeah I fixed that in my repo but forgot to resend. > Could use puts(buf); instead of printf("%s\n", buf); Sure yeah.

[dev] [sbase] [patch v2] Add hostname

2013-08-20 Thread sin
Updated usage and used puts() instead of printf(). >From 2d49326020e6a788b9c0f190bd007d2baed89e19 Mon Sep 17 00:00:00 2001 From: sin Date: Mon, 19 Aug 2013 17:22:46 +0100 Subject: [PATCH] Add hostname(1) --- Makefile | 1 + hostname.c | 33 + 2 files changed, 3

Re: [dev] [dwm] multiple monitors, default window placement

2013-08-20 Thread Martin Kopta
On Fri, Aug 02, 2013 at 10:15:43PM +0200, Anselm R Garbe wrote: > Hi Martin, > > On 29 July 2013 09:50, Martin Kopta wrote: > > On Wed, Jul 03, 2013 at 06:59:34PM +0200, Anselm R Garbe wrote: > >> Do you experience this with vanilla dwm from git? If not, then it > >> might help to see your rules

[dev][dwm][patch] dwm toggleignore patch

2013-08-20 Thread Nikolay Vasylchyshyn
Hello, suckless community! I have created a patch for the current dwm (commit 6af273771cb0e28e4394c78ab0322f77025a57f3). It excludes (and toggles back again) currently focused window from MODKEY+j, MODKEY+k change focus cycle. How do I use it: I open many terminals and actively work in 2 or 3 of

Re: [dev][dwm][patch] dwm toggleignore patch

2013-08-20 Thread Raphaël Proust
On Tue, Aug 20, 2013 at 1:06 PM, Nikolay Vasylchyshyn wrote: > […] > Maybe, some of you also will find this patch useful. ; ) Seems potentially very useful. One thing you might want to do is add a set of colours for the ignored windows. static const char ignoredbordercolor[] = "#[…]"; static con

[dev] [PATCH] Add -g (geometry) option to tabbed.

2013-08-20 Thread Thorsten Glaser
Signed-off-by: Thorsten Glaser --- LICENSE | 1 + tabbed.1 | 5 + tabbed.c | 8 3 files changed, 14 insertions(+) diff --git a/LICENSE b/LICENSE index add8a53..b8dc9ea 100644 --- a/LICENSE +++ b/LICENSE @@ -3,6 +3,7 @@ MIT/X Consortium License © 2009-2011 Enno Boland © 2011 Conn

[dev] smdev (suckless mdev)

2013-08-20 Thread sin
Hi all, I've hacked together smdev[1]. It is basically mdev with a config.def.h. It does not currently support all of mdev's features. What do you guys think? Thanks, sin [1] http://git.2f30.org/smdev

Re: [dev][dwm][patch] dwm toggleignore patch

2013-08-20 Thread Nikolay Vasylchyshyn
Raphaël, thank you for the idea with colors. Will play with it in my spare time during the week. > Seems potentially very useful. I'm very glad to read this. : ) Sorry for html emails. This one in plain text. 2013/8/20 Nikolay Vasylchyshyn : > Raphaël, thank you for the idea with colors. Will pla

Re: [dev][dwm][patch] dwm toggleignore patch

2013-08-20 Thread Markus Teich
Nikolay Vasylchyshyn wrote: Seems potentially very useful. I'm very glad to read this. : ) I object. This "new" feature is already nearly there. If you have two active windows, in which you are working, just zoom them to the top of the client stack. Then you can easily switch between them wit

Re: [dev][dwm][patch] dwm toggleignore patch

2013-08-20 Thread Raphaël Proust
On Tue, Aug 20, 2013 at 3:20 PM, Markus Teich wrote: > Nikolay Vasylchyshyn wrote: >>> >>> Seems potentially very useful. >> >> I'm very glad to read this. : ) > > > I object. This "new" feature is already nearly there. > > If you have two active windows, in which you are working, > just zoom them

Re: [dev][dwm][patch] dwm toggleignore patch

2013-08-20 Thread Markus Teich
Am 2013-08-20 16:36, schrieb Raphaël Proust: On Tue, Aug 20, 2013 at 3:20 PM, Markus Teich wrote: Nikolay Vasylchyshyn wrote: Seems potentially very useful. I'm very glad to read this. : ) I object. This "new" feature is already nearly there. If you have two active windows, in which y

Re: [dev][dwm][patch] dwm toggleignore patch

2013-08-20 Thread Nikolay Vasylchyshyn
About remembering window state. There is and indicator. It is shown under the floating/fixed indicator. It's not so useful, because it is seen (or hidden) only for focused window. The idea with custom border color is much superior, because you can see all ignored windows at once. > I object. This

Re: [dev][dwm][patch] dwm toggleignore patch

2013-08-20 Thread Raphaël Proust
On Tue, Aug 20, 2013 at 4:58 PM, Markus Teich wrote: > Am 2013-08-20 16:36, schrieb Raphaël Proust: >> On Tue, Aug 20, 2013 at 3:20 PM, Markus Teich >> wrote: >>> Nikolay Vasylchyshyn wrote: > […] […] >> […] > > If you use some clients (i assume you use them on top of the client > stack/

Re: [dev] [PATCH] Add -g (geometry) option to tabbed.

2013-08-20 Thread Christoph Lohmann
Greetings. Thanks for the hint, but you didn’t do it right. The geometry string al‐ lows to specify negative positions too and a negative zero too. Addi‐ tionally this now fixates the geometry of tabbed. Sincerely, Christoph Lohmann

Re: [dev] smdev (suckless mdev)

2013-08-20 Thread Christoph Lohmann
Greetings. On Tue, 20 Aug 2013 18:46:45 +0200 sin wrote: > Hi all, > > I've hacked together smdev[1]. It is basically mdev with > a config.def.h. > > It does not currently support all of mdev's features. > > What do you guys think? If it supports all the execution properties of mdev it woul

Re: [dev] smdev (suckless mdev)

2013-08-20 Thread sin
On Tue, Aug 20, 2013 at 06:46:45PM +0200, Christoph Lohmann wrote: > Greetings. > > On Tue, 20 Aug 2013 18:46:45 +0200 sin wrote: > > Hi all, > > > > I've hacked together smdev[1]. It is basically mdev with > > a config.def.h. > > > > It does not currently support all of mdev's features. > >

Re: [dev] [PATCH] Add -g (geometry) option to tabbed.

2013-08-20 Thread Thorsten Glaser
Christoph Lohmann dixit: >Thanks for the hint, but you didn’t do it right. The geometry string al‐ >lows to specify negative positions too and a negative zero too. Addi‐ Hrm, ok ☹ back to the drawing board, then (unless you’ve got a hint – I’ve not done any X11 programming previously). >tiona