Re: [dev] [dwm] layers

2011-08-05 Thread Ethan Grammatikidis
On Thu, 4 Aug 2011 21:56:00 +0100
Connor Lane Smith c...@lubutu.com wrote:

 I don't get everyone's obsession with destroying tags.

That and a lot of other things which don't need to be cleaned up or
optimized. I think it relates to a tidying-up obsession, myself. I
suspect there's a logical fallacy at the bottom of it.



Re: [dev] [dwm] layers

2011-08-05 Thread Ethan Grammatikidis
On Fri, 5 Aug 2011 15:03:21 +0200
hiro 23h...@googlemail.com wrote:

 Yeah, I'm convinced it's all about German nature.
 destroying tags: I guess if you cycle through tags/views you don't
 want to waste your time with empty ones
 
Oh aye... well that could be implemented with a cycle through
non-empty tags function which couldn't be complex.



Re: [dev] [dwm] layers

2011-08-04 Thread Suraj N. Kurapati
On Tue 02 Aug 2011 07:24:47 PM PDT, Am Jam wrote:
 he wants the number of tags to dynamically grow and shrink on the
 fly given some key combination according to his workflow that day.

Sounds like a good use-case for wmii's dynamic tagging system.  I
create task-based views all the time, particularly temporary ones:

Imagine that you're programming.  You have your text editor, a bunch
of terminals, a web browser for searching, a PDF viewer for reading
a reference e-book, and a terminal for reading man pages.  Suddenly
you've figured out how to implement that thing you've been working
on all day:  all you need now, for distraction-free implementation,
is your text editor and the reference material (say in a man page).

In this scenario, I simply use the client grouping feature of my
wmiirc (which really just adds a special tag to certain clients) and
group the text editor and man page window.  Next I press C-A-Right,
which is my shortcut for create a temporary view and then
auto-arrange the clients inside it, and boom!  I'm ready to code.

When I'm finished, I press C-A-Left to destroy the temporary view,
send the grouped clients back, and take me back where I started. :)

-- 
Do you think there's a God?
Well, SOMEbody's out to get me!
-- Calvin and Hobbs


signature.asc
Description: PGP signature


Re: [dev] [dwm] layers

2011-08-04 Thread Connor Lane Smith
On 4 August 2011 20:11, Suraj N. Kurapati sun...@gmail.com wrote:
 Sounds like a good use-case for wmii's dynamic tagging system.  I
 create task-based views all the time, particularly temporary ones:

dwm does the same, only it's more dynamic, in that you can view
multiple tags at the same time.

I don't get everyone's obsession with destroying tags. It's not like
they take up memory on your machine or anything. They're just a
bitmask! Just compile in a bunch of tags and leave it at that. Simple.

cls



Re: [dev] [dwm] layers

2011-08-02 Thread Am Jam
I think what he means is he wants the number of tags to dynamically grow and
shrink on the fly given some key combination according to his workflow that
day.

A hypothetical example -
On Monday's he conference calls with other people in the office and has to
use skype and thunderbird and other junk and wants n number of tags.
However, from Tuesday to Sunday he doesn't need to have any conference calls
and thus doesn't need tags for skype or other crap and so would like to have
(n - m) number of tags, where m  n.
Recompiling dwm every Sunday night or Monady morning seems like a hassle.


I /think/ thats what he means... I think.


Re: [dev] [dwm] layers

2011-08-02 Thread Am Jam
On Thu, Jul 21, 2011 at 9:55 AM, Kurt H Maier karmaf...@gmail.com wrote:

 On Thu, Jul 21, 2011 at 12:42 PM, Andrew Hills hills...@gmail.com wrote:
  Do you really install applications so often that thirty seconds
  rebuilding dwm will inconvenience you?

 He could just set up a cron job


 --
 # Kurt H Maier


Yes this is definitely a solution.


Re: [dev] [dwm] layers

2011-08-02 Thread hiro
No, recompiling proves you're a real hacker, not possible *troll und wech*



[dev] [dwm] layers

2011-07-21 Thread Jean-Paul DEUX

Hi,
I wonder if there is a dwm patch implementing layer.

What I mean by layer ?
For instance, I have a tag named com (communication) and rules to
launch thunderbird and skype in that tag (I know they suck, any
suggestions are welcome).

I want to simultaneously have thunderbird in monocle mode and skype in
tile mode in the same tag and switch between them (_all_ thunderbird
windows and _all_ skype windows) like if they are simple windows.

I dont know if I was clear!
Any hints ?



Re: [dev] [dwm] layers

2011-07-21 Thread Andrew Hills
On Thu, Jul 21, 2011 at 3:18 AM, Jean-Paul DEUX t...@rocketmail.com wrote:
 I want to simultaneously have thunderbird in monocle mode and skype in
 tile mode in the same tag and switch between them (_all_ thunderbird
 windows and _all_ skype windows) like if they are simple windows.

I think what you want is the pertag patch, which, if I'm not
completely wrong, allows you to choose your layout per tag. Then you
can have a tag for Thunderbird and a tag for Skype and set them to
different layouts. Does that work for you?

--Andrew Hills



Re: [dev] [dwm] layers

2011-07-21 Thread Jean-Paul DEUX

On 07/21/2011 02:55 PM, Andrew Hills wrote:

On Thu, Jul 21, 2011 at 3:18 AM, Jean-Paul DEUXt...@rocketmail.com  wrote:

I want to simultaneously have thunderbird in monocle mode and skype in
tile mode in the same tag and switch between them (_all_ thunderbird
windows and _all_ skype windows) like if they are simple windows.

I think what you want is the pertag patch, which, if I'm not
completely wrong, allows you to choose your layout per tag. Then you
can have a tag for Thunderbird and a tag for Skype and set them to
different layouts. Does that work for you?

--Andrew Hills


Actually, I already use the pertag patch and it's not what I'm looking
for. 'Cause dwm use a fixed number of tags.

For example, if I want a third application for chat (I don't know, say
pidgin) I have to create a new tag, and it's not very handy to create a
new tag for each new application I install.

Plus, this layer system may help to simulate tabs (even more powerful
'cause we can have layouts).

Thanks anyway, may be I should try to implement it myself.



Re: [dev] [dwm] layers

2011-07-21 Thread Petr Sabata
On Thu, Jul 21, 2011 at 03:42:43PM +0200, Jean-Paul DEUX wrote:
 On 07/21/2011 02:55 PM, Andrew Hills wrote:
 On Thu, Jul 21, 2011 at 3:18 AM, Jean-Paul DEUXt...@rocketmail.com  wrote:
 I want to simultaneously have thunderbird in monocle mode and skype in
 tile mode in the same tag and switch between them (_all_ thunderbird
 windows and _all_ skype windows) like if they are simple windows.
 I think what you want is the pertag patch, which, if I'm not
 completely wrong, allows you to choose your layout per tag. Then you
 can have a tag for Thunderbird and a tag for Skype and set them to
 different layouts. Does that work for you?
 
 --Andrew Hills
 
 Actually, I already use the pertag patch and it's not what I'm looking
 for. 'Cause dwm use a fixed number of tags.

Is there something preventing you from defining more tags in your config.h?

 
 For example, if I want a third application for chat (I don't know, say
 pidgin) I have to create a new tag, and it's not very handy to create a
 new tag for each new application I install.
 
 Plus, this layer system may help to simulate tabs (even more powerful
 'cause we can have layouts).
 
 Thanks anyway, may be I should try to implement it myself.
 

-- 
# Petr Sabata


pgpFtkr52PJMv.pgp
Description: PGP signature


Re: [dev] [dwm] layers

2011-07-21 Thread Jean-Paul DEUX

On 07/21/2011 03:48 PM, Petr Sabata wrote:

On Thu, Jul 21, 2011 at 03:42:43PM +0200, Jean-Paul DEUX wrote:

On 07/21/2011 02:55 PM, Andrew Hills wrote:

On Thu, Jul 21, 2011 at 3:18 AM, Jean-Paul DEUXt...@rocketmail.com   wrote:

I want to simultaneously have thunderbird in monocle mode and skype in
tile mode in the same tag and switch between them (_all_ thunderbird
windows and _all_ skype windows) like if they are simple windows.

I think what you want is the pertag patch, which, if I'm not
completely wrong, allows you to choose your layout per tag. Then you
can have a tag for Thunderbird and a tag for Skype and set them to
different layouts. Does that work for you?

--Andrew Hills


Actually, I already use the pertag patch and it's not what I'm looking
for. 'Cause dwm use a fixed number of tags.

Is there something preventing you from defining more tags in your config.h?


Not really! But don't wanna have a dozen of tags, I rather prefer
working with categories.

Plus, the system really interest me and I wanted to check out if it
doesn't already exist before I start trying to understand the dwm code
and messing with it.


For example, if I want a third application for chat (I don't know, say
pidgin) I have to create a new tag, and it's not very handy to create a
new tag for each new application I install.

Plus, this layer system may help to simulate tabs (even more powerful
'cause we can have layouts).

Thanks anyway, may be I should try to implement it myself.






Re: [dev] [dwm] layers

2011-07-21 Thread Andrew Hills
On Thu, Jul 21, 2011 at 9:42 AM, Jean-Paul DEUX t...@rocketmail.com wrote:
 For example, if I want a third application for chat (I don't know, say
 pidgin) I have to create a new tag, and it's not very handy to create a
 new tag for each new application I install.

Do you really install applications so often that thirty seconds
rebuilding dwm will inconvenience you?

--Andrew Hills



Re: [dev] [dwm] layers

2011-07-21 Thread Kurt H Maier
On Thu, Jul 21, 2011 at 12:42 PM, Andrew Hills hills...@gmail.com wrote:
 Do you really install applications so often that thirty seconds
 rebuilding dwm will inconvenience you?

He could just set up a cron job


-- 
# Kurt H Maier



Re: [dev] [dwm] layers

2011-07-21 Thread Jean-Paul DEUX

On 07/21/2011 06:42 PM, Andrew Hills wrote:

On Thu, Jul 21, 2011 at 9:42 AM, Jean-Paul DEUXt...@rocketmail.com  wrote:

For example, if I want a third application for chat (I don't know, say
pidgin) I have to create a new tag, and it's not very handy to create a
new tag for each new application I install.

Do you really install applications so often that thirty seconds
rebuilding dwm will inconvenience you?

--Andrew Hills


kinda!

But that's not the real problem. Like I sayed before I don't want to have
many tags. For organisation matter, I dont think this is the way to go.