Re: [dwm] Different window modes on different workspaces
On Mon, Mar 17, 2008 at 07:31:13PM -0700, Jonny Gerold wrote: I'm not a big patcher/coder. I know you're probably busy, but I might as well ask. I was wondering if you could patch it for me? You're right: I'm very busy at the moment. I'm glad if I can at leat update dwm-mitch to the latest dwm release within the next few months. Sorry, but I can't do the patching. Regards, Christian -- Christian.Garbs.http://www.cgarbs.de Wussten Sie schon, daß StROM nicht etwa der Schutzheilige von Lesespeichern ist? (Ralf 'Slowhand' Linnemann in d.t.j.) signature.asc Description: Digital signature
Re: [dwm] Different window modes on different workspaces
It could be interesting to have multiple workspaces, and on each workspace have tags...But that's just unneeded complexity for me. -E On Sat, Mar 15, 2008 at 10:28 PM, Jonny Gerold [EMAIL PROTECTED] wrote: Godsend, I luv it... The only thing is that I would like all the workspaces displayed at the top instead of 1/2 etc... ie. (1 2 3...) But This is exactly what I was looking for, and I figure that it's just a patch that I need to remove or something? Or is this even possible? Thanks, Jonny Christian Garbs wrote: On Fri, Mar 14, 2008 at 08:50:55PM -0700, Jonny Gerold wrote: I have a very simple question. I just upgraded to 4.8. And I would like to know if there is a simple way to assign one workspace to be say tiled mode, and another to be float mode. I would like to use tiling on some of my workspaces, but am always pissed when I move to another desktop with a float that gets moved out of place. You could have a look at dwm-mitch and it's patches, it uses workspaces instead of tags and has per-workspace settings of layout and mfwact. http://www.cgarbs.de/dwm-mitch.en.html It's only dwm 4.7, though. I don't have much time at the moment to update it and with all the things moving and me only having a single monitor setup, I think I can very well survive on 4.7 for the next time :-) (Although I want to try out two new layouts posted here some time ago, I think one of them was called itile or the like. Has anybody got a screenshot showing it?) Regards, Christian
Re: [dwm] Different window modes on different workspaces
On Sat, Mar 15, 2008 at 07:28:49PM -0700, Jonny Gerold wrote: Godsend, I luv it... The only thing is that I would like all the workspaces displayed at the top instead of 1/2 etc... ie. (1 2 3...) But This is exactly what I was looking for, and I figure that it's just a patch that I need to remove or something? Or is this even possible? Of course it's possible, this is computer science :-) You should take a look at the workspace-patch. There you can make the relevant changes - but don't change too much or the following perworkspace-patch won't apply cleanly... The workspaces are implemented with a dynamic amount of workspaces. You can create and remove workspaces, which does not mix very well with a static display of all workspaces in the status bar. To get your desired behaviour, you should do the following: - set the initial number of workspaces to your liking - remove keybindings for creation and deletion of workspaces - revert the drawbar function to the old behaviour without the workspaces patch but beware that you don't have a tag array any more. If ordinal numbers as workspace names are ok, then this is easy to fix, just print the numbers when the boxes are drawn. If you really need text (1 2 3 www irc), you need to (re)create some sort of (tags)array and use it to fill the boxes. That should kind of work. Regards, Christian PS: I won't include this into my patchset because I heavily rely on dynamic workspace creation (this is the dynamic window manager, after all :-) and managing two different codebases becomes quite a hassle when other patches get stacked on top... -- Christian.Garbs.http://www.cgarbs.de Hubbard's Law: Don't take life too seriously; you won't get out of it alive. signature.asc Description: Digital signature
Re: [dwm] Different window modes on different workspaces
On Sat, Mar 15, 2008 at 4:50 AM, Jonny Gerold [EMAIL PROTECTED] wrote: Hello, I have a very simple question. I just upgraded to 4.8. And I would like to know if there is a simple way to assign one workspace to be say tiled mode, and another to be float mode. I would like to use tiling on some of my workspaces, but am always pissed when I move to another desktop with a float that gets moved out of place. Thanks, Jonny There are no different desktops/workspaces, there is only one. Applying one or more tags to a window, and selecting one or more tags for viewing influences what is displayed on that _single_ workspace (to which the currently selected layout always applies). I suggest you search the archives, the differences between tags and workspaces have been discussed many, many times before (basically, as long as you never select more than one tag for viewing, tags can be (ab)used as workspaces, but when you select multiple tags for viewing it becomes obvious that things like 'layout per workspace' have no meaning in the tagging paradigm). Also, should you come to the conclusion that the workspaces paradigm fits you better than the tags paradigm, xmonad (xmonad.org) might be worth looking at. Greetings, Sander.
Re: [dwm] Different window modes on different workspaces
On Sat, Mar 15, 2008 at 10:01:43AM +0100, Sander van Dijk wrote: On Sat, Mar 15, 2008 at 4:50 AM, Jonny Gerold [EMAIL PROTECTED] wrote: Hello, I have a very simple question. I just upgraded to 4.8. And I would like to know if there is a simple way to assign one workspace to be say tiled mode, and another to be float mode. I would like to use tiling on some of my workspaces, but am always pissed when I move to another desktop with a float that gets moved out of place. Thanks, Jonny There are no different desktops/workspaces, there is only one. Applying one or more tags to a window, and selecting one or more tags for viewing influences what is displayed on that _single_ workspace (to which the currently selected layout always applies). I suggest you search the archives, the differences between tags and workspaces have been discussed many, many times before (basically, as long as you never select more than one tag for viewing, tags can be (ab)used as workspaces, but when you select multiple tags for viewing it becomes obvious that things like 'layout per workspace' have no meaning in the tagging paradigm). Also, should you come to the conclusion that the workspaces paradigm fits you better than the tags paradigm, xmonad (xmonad.org) might be worth looking at. Greetings, Sander. another 2c: afaics the `tags' vs. `workspaces' dispute is essentially a matter of terminology. simply two different words for more or less the same thing, namely being able to view subgroups of all existing windows while hiding all the others. that not all (but anyway some) window managers calling their subgroups-of-visible-windows workspaces or desktops allow simultaneous visibility of a window on more than one workspace seems the main difference to `dwm'. if you use (not abuse!) the one-window-one-tag approach their is _no_ difference to the usual workspace paradigm, not from the user perspective. there sure is no reason which would prevent coupling the layout to the tags ('layout per tag'). apart from the ability to look at several tags at the same time, that is. this 'tag merging' of course is only sensible if one has a common layout for all tags... but that could be handled by allowing it only if all layouts of all affected tags are currently equal. even if a window has more than one tag this could be done. how much overhead the additional bookkeeping would produce is a question for anselm or the guys who seem to have provided patches in this direction. but coming to think of it: _if_ the layouts could be made a tag-specific thing (i.e. alowing a different layout for each tag) and if at the _same_ time the positions of a window in a floating layout could be memoized to enable restoration of the position if the layout is becoming 'floating' again, that would be really nice. I presume without remembering the 'floating position' one would not be happy if a window actually has two tags and one switches from tag one (floating) to tag two (tiling) and than again to tag one... this of course is the same problem one sees right now when switching floating to tiling and back: loss of previously manually arranged floating layout. it's not a bug, but sure it's not a feature, too... joerg
Re: [dwm] Different window modes on different workspaces
On Fri, Mar 14, 2008 at 08:50:55PM -0700, Jonny Gerold wrote: I have a very simple question. I just upgraded to 4.8. And I would like to know if there is a simple way to assign one workspace to be say tiled mode, and another to be float mode. I would like to use tiling on some of my workspaces, but am always pissed when I move to another desktop with a float that gets moved out of place. You could have a look at dwm-mitch and it's patches, it uses workspaces instead of tags and has per-workspace settings of layout and mfwact. http://www.cgarbs.de/dwm-mitch.en.html It's only dwm 4.7, though. I don't have much time at the moment to update it and with all the things moving and me only having a single monitor setup, I think I can very well survive on 4.7 for the next time :-) (Although I want to try out two new layouts posted here some time ago, I think one of them was called itile or the like. Has anybody got a screenshot showing it?) Regards, Christian -- Christian.Garbs.http://www.cgarbs.de sigmentation fault signature.asc Description: Digital signature
Re: [dwm] Different window modes on different workspaces
Godsend, I luv it... The only thing is that I would like all the workspaces displayed at the top instead of 1/2 etc... ie. (1 2 3...) But This is exactly what I was looking for, and I figure that it's just a patch that I need to remove or something? Or is this even possible? Thanks, Jonny Christian Garbs wrote: On Fri, Mar 14, 2008 at 08:50:55PM -0700, Jonny Gerold wrote: I have a very simple question. I just upgraded to 4.8. And I would like to know if there is a simple way to assign one workspace to be say tiled mode, and another to be float mode. I would like to use tiling on some of my workspaces, but am always pissed when I move to another desktop with a float that gets moved out of place. You could have a look at dwm-mitch and it's patches, it uses workspaces instead of tags and has per-workspace settings of layout and mfwact. http://www.cgarbs.de/dwm-mitch.en.html It's only dwm 4.7, though. I don't have much time at the moment to update it and with all the things moving and me only having a single monitor setup, I think I can very well survive on 4.7 for the next time :-) (Although I want to try out two new layouts posted here some time ago, I think one of them was called itile or the like. Has anybody got a screenshot showing it?) Regards, Christian
[dwm] Different window modes on different workspaces
Hello, I have a very simple question. I just upgraded to 4.8. And I would like to know if there is a simple way to assign one workspace to be say tiled mode, and another to be float mode. I would like to use tiling on some of my workspaces, but am always pissed when I move to another desktop with a float that gets moved out of place. Thanks, Jonny
Re: [dwm] Different window modes on different workspaces
Just to comment ... this is something I was interested in as well, but never got around to hacking it in. On Fri, Mar 14, 2008 at 10:50 PM, Jonny Gerold [EMAIL PROTECTED] wrote: Hello, I have a very simple question. I just upgraded to 4.8. And I would like to know if there is a simple way to assign one workspace to be say tiled mode, and another to be float mode. I would like to use tiling on some of my workspaces, but am always pissed when I move to another desktop with a float that gets moved out of place. Thanks, Jonny -- Brandon Barker Phone: (859) 948-5335