Re: [dev] [dwm] visible only if needed [patch]

2011-07-07 Thread Bryan Bennett
I would think that setting a terminal title would be a trivial task using xdotool, xprop and dmenu, which would help if you don't pre-launch apps on startup and keep them running on a specified tag (which is how I work around this issue). I might work on this script this evening when I get off of

Re: [dev] [dwm] visible only if needed [patch]

2011-07-07 Thread Ruben Gonzalez Arnau
On 07/07/11 15:29, Rob wrote: On 7 July 2011 14:18, Ruben Gonzalez Arnau wrote: Talking about remember applications when restarting, it's possible to remember "terminals" too? When I restart dwm everything is okey with my config.h rules and each app goes to its tag, except all xterms go to tag

Re: [dev] [dwm] visible only if needed [patch]

2011-07-07 Thread julien steinhauser
On Thu, Jul 07, 2011 at 03:18:21PM +0200, Ruben Gonzalez Arnau wrote: > Talking about remember applications when restarting, it's possible > to remember "terminals" too? When I restart dwm everything is okey > with my config.h rules and each app goes to its tag, except all > xterms go to tag 1, I t

Re: [dev] [dwm] visible only if needed [patch]

2011-07-07 Thread Rob
On 7 July 2011 14:18, Ruben Gonzalez Arnau wrote: > Talking about remember applications when restarting, it's possible to > remember "terminals" too? When I restart dwm everything is okey with my > config.h rules and each app goes to its tag, except all xterms go to tag 1, > I think that is the no

Re: [dev] [dwm] visible only if needed [patch]

2011-07-07 Thread Ruben Gonzalez Arnau
On 07/07/11 13:48, Hiltjo Posthuma wrote: On Thu, Jul 7, 2011 at 11:24 AM, Thomas Dean<78...@web.de> wrote: On Mon, Jul 04, 2011 at 11:37:15 +0200, julien steinhauser wrote: I like the idea of having only used tags visible. One problem with this patch though is that dwm loses all tags when res

Re: [dev] [dwm] visible only if needed [patch]

2011-07-07 Thread Thomas Dean
On Thu, Jul 07, 2011 at 13:48:27 +0200, Hiltjo Posthuma wrote: > I don't think vanilla dwm remembers tags when restarting so it's not > that the patch removes that behaviour. You can specify rules in your > config.h which tags to apply to each application. You are right, I was remembering it incor

Re: [dev] [dwm] visible only if needed [patch]

2011-07-07 Thread Hiltjo Posthuma
On Thu, Jul 7, 2011 at 11:24 AM, Thomas Dean <78...@web.de> wrote: > On Mon, Jul 04, 2011 at 11:37:15 +0200, julien steinhauser wrote: > > I like the idea of having only used tags visible. One problem with this > patch though is that dwm loses all tags when restarting. Before, the > tagging survive

Re: [dev] [dwm] visible only if needed [patch]

2011-07-07 Thread Thomas Dean
On Mon, Jul 04, 2011 at 11:37:15 +0200, julien steinhauser wrote: > Code from Hiltjo Posthuma and Jeremiah Dow ( with minor add ) is merged in > this patch. > The behaviour is : > > - border is shown when one sees more than one client. > - tags are shown when they are viewed or when clients are l

Re: [dev] [dwm] visible only if needed [patch]

2011-07-04 Thread julien steinhauser
On Mon, Jul 04, 2011 at 03:19:12PM +0200, Hiltjo Posthuma wrote: > > I'm not sure if you intended it > as an upstream patch, but most people probably won't like it in > upstream dwm. I know there are some people using dwm around here, it was intended for who could find a use case to it. > Note

Re: [dev] [dwm] visible only if needed [patch]

2011-07-04 Thread Connor Lane Smith
On 4 July 2011 16:23, Connor Lane Smith wrote: > I would rather dwm only displayed the visible tags ... And those in use, ofc. cls

Re: [dev] [dwm] visible only if needed [patch]

2011-07-04 Thread Connor Lane Smith
On 4 July 2011 14:19, Hiltjo Posthuma wrote: > Note that drawsquare() is not only used for showing if a > tag is used by clients but also to indicate floating clients in the > titlebar so your patch removes that also. The patch also makes it impossible to see which tags the focused client is tagg

Re: [dev] [dwm] visible only if needed [patch]

2011-07-04 Thread Hiltjo Posthuma
On Mon, Jul 4, 2011 at 11:37 AM, julien steinhauser wrote: > Code from Hiltjo Posthuma and Jeremiah Dow ( with minor add ) is merged in > this patch. > The behaviour is : > > - border is shown when one sees more than one client. > - tags are shown when they are viewed or when clients are labelled

[dev] [dwm] visible only if needed [patch]

2011-07-04 Thread julien steinhauser
Code from Hiltjo Posthuma and Jeremiah Dow ( with minor add ) is merged in this patch. The behaviour is : - border is shown when one sees more than one client. - tags are shown when they are viewed or when clients are labelled with them. drawsquare is removed. As i don't know C, please say anyt