Re: [dev] [dwm] auto switch to the app's tag
On 13/12/11 18:14, nxt7 wrote: Hello! Is it possible to make dwm to switch to the tag where application is started according to the "Rules" section of config file? viewontag patch works only with already started applications and does not suit for applications started through command line or file type associations from file managers. On this[1] forum I was told that such functionality is already present in dwm but I tried both vanilla dwm 5.8 and dwm-hg (without any patches) and found nothing similar to desired behavior. Can somebody explain the situation? --- [1]https://bbs.archlinux.org/viewtopic.php?pid=1025878#p1025878 Maybe using xdotool can help in that situation. For example, if Firefox is started on tag 3 via config rules, then you can spawn it with something like this: SHCMD("xdotool key Super_L+3 && firefox") xdotool emulate keyboard press for you. -- r...@sdf.lonestar.org
[dev] which wmii flavour?
Hi, wmii can come in many "flavours": bash, plan9, python, ruby but I have no expertise to compare them. When I came to use wmii, some years ago, after a while I chose to use it through the plan9 wmiirc, thinking that it was more in the logic of the wmii project, and that it let a higher degree of configuration. But I don't know if this is true, and the /usr/local/plan9 folder is more then 200 Mb on my hard disk. Which are the advantages of one flavour over the other? Which are the pros and cons? Why and how to chose one over the other? Does it make sense to compare them considering usability, flexibility and control possibilities, easiness of configuration, architectural elegance and logical consistency? And of course their needs for resources (e.g, memory usage, hard disk space, cpu load). Thanks for suggestions and insights, Davide
Re: [dev] which wmii flavour?
Hi Davide, On 14 December 2011 17:01, Davide Anchisi wrote: > wmii can come in many "flavours": > bash, plan9, python, ruby > but I have no expertise to compare them. > > When I came to use wmii, some years ago, after a while I chose to use it > through the plan9 wmiirc, thinking that it was more in the logic of the wmii > project, and that it let a higher degree of configuration. But I don't know > if this is true, and the /usr/local/plan9 folder is more then 200 Mb on my > hard disk. > > Which are the advantages of one flavour over the other? Which are the pros > and cons? Why and how to chose one over the other? > > Does it make sense to compare them considering usability, flexibility and > control possibilities, easiness of configuration, architectural elegance and > logical consistency? > And of course their needs for resources (e.g, memory usage, hard disk space, > cpu load). > > Thanks for suggestions and insights, The only wmii flavour I can recommend is available at the following link: http://dwm.suckless.org/ Best regards, Anselm
Re: [dev] [dwm] auto switch to the app's tag
On 13 December 2011 18:14, nxt7 wrote: > Is it possible to make dwm to switch to the tag where application is started > according to the "Rules" section of config file? viewontag patch works only > with already started applications and does not suit for applications started > through command line or file type associations from file managers. On > this[1] forum I was told that such functionality is already present in dwm > but I tried both vanilla dwm 5.8 and dwm-hg (without any patches) and found > nothing similar to desired behavior. Can somebody explain the situation? Just add a flag (didapplyrules) or something that you set in the inner part of applyrules() and then something like: if(didapplyrules) { Arg a = { .ui = c->tags }; view(&a); } at the end of manage(). HTH, Anselm