Re: [dwm] How to restart after re-compiling dwm without destroying of existing clients?

2007-12-14 Thread Taras Ivashchenko
On Thu, 13 Dec 2007 13:44:19 -0500
Evan Gates [EMAIL PROTECTED] wrote:

Thanks to all!

 You can just kill dwm (default keybinding Mod1+shift+q) making sure
 you have a shell open, then restart dwm from that shell.
 
 -Evan
 
 On Dec 13, 2007 1:39 PM, Taras Ivashchenko [EMAIL PROTECTED] wrote:
  Hello everybody, sorry if this question already was asked.
 
  Is there way or may be patch to restart after re-compiling dwm without 
  destroying of existing clients?
  Something like  restart feature in xmonad?
 
  Thanks.
 
  --
  Taras Ivashchenko [EMAIL PROTECTED]
  
  Software is like SEX - it's better when it's FREE - Linus Torvalds
 
 
 


-- 
Taras Ivashchenko [EMAIL PROTECTED]

Software is like SEX - it's better when it's FREE - Linus Torvalds



[dwm] How to restart after re-compiling dwm without destroying of existing clients?

2007-12-13 Thread Taras Ivashchenko
Hello everybody, sorry if this question already was asked.

Is there way or may be patch to restart after re-compiling dwm without 
destroying of existing clients?
Something like  restart feature in xmonad?

Thanks.

-- 
Taras Ivashchenko [EMAIL PROTECTED]

Software is like SEX - it's better when it's FREE - Linus Torvalds



Re: [dwm] How to restart after re-compiling dwm without destroying of existing clients?

2007-12-13 Thread Evan Gates
You can just kill dwm (default keybinding Mod1+shift+q) making sure
you have a shell open, then restart dwm from that shell.

-Evan

On Dec 13, 2007 1:39 PM, Taras Ivashchenko [EMAIL PROTECTED] wrote:
 Hello everybody, sorry if this question already was asked.

 Is there way or may be patch to restart after re-compiling dwm without 
 destroying of existing clients?
 Something like  restart feature in xmonad?

 Thanks.

 --
 Taras Ivashchenko [EMAIL PROTECTED]
 
 Software is like SEX - it's better when it's FREE - Linus Torvalds





Re: [dwm] How to restart after re-compiling dwm without destroying of existing clients?

2007-12-13 Thread Vasil Dimov
On Thu, Dec 13, 2007 at 13:44:19 -0500, Evan Gates wrote:
 You can just kill dwm (default keybinding Mod1+shift+q) making sure
 you have a shell open, then restart dwm from that shell.
[...]

Wow! I never expected that to happen :)

The (minor) problem is that when dwm is killed all clients go in one
place (of course) and when it is started again they do not restore
onto their original tags.

But anyway, this is much better than killing all of the clients :)

Thanks!

-- 
Vasil Dimov
[EMAIL PROTECTED]Software Developer @ Oracle/Innobase Oy
[EMAIL PROTECTED]Committer @ FreeBSD.org
[EMAIL PROTECTED]Home @ Sofia, Bulgaria


pgpYc4ZRP8evw.pgp
Description: PGP signature


Re: [dwm] How to restart after re-compiling dwm without destroying of existing clients?

2007-12-13 Thread Evan Gates
Crap, did reply not reply to all, so to the mailing list...

If you add tagging rules for all of those clients, then when dwm is
restarted the tags from those rules will be applied.
-Evan

On Dec 13, 2007 2:00 PM, Vasil Dimov [EMAIL PROTECTED] wrote:
 On Thu, Dec 13, 2007 at 13:44:19 -0500, Evan Gates wrote:
  You can just kill dwm (default keybinding Mod1+shift+q) making sure
  you have a shell open, then restart dwm from that shell.
 [...]

 Wow! I never expected that to happen :)

 The (minor) problem is that when dwm is killed all clients go in one
 place (of course) and when it is started again they do not restore
 onto their original tags.

 But anyway, this is much better than killing all of the clients :)

 Thanks!

 --
 Vasil Dimov
 [EMAIL PROTECTED]Software Developer @ Oracle/Innobase Oy
 [EMAIL PROTECTED]Committer @ FreeBSD.org
 [EMAIL PROTECTED]Home @ Sofia, Bulgaria




Re: [dwm] How to restart after re-compiling dwm without destroying of existing clients?

2007-12-13 Thread Anselm R. Garbe
On Thu, Dec 13, 2007 at 09:39:24PM +0300, Taras Ivashchenko wrote:
 Hello everybody, sorry if this question already was asked.
 
 Is there way or may be patch to restart after re-compiling dwm without 
 destroying of existing clients?
 Something like  restart feature in xmonad?

while true
do
dwm
done

dwm restarts correctly on Mod-Shift-q within a while loop.

Regards,
-- 
 Anselm R. Garbe  http://www.suckless.org/  GPG key: 0D73F361



Re: [dwm] How to restart after re-compiling dwm without destroying of existing clients?

2007-12-13 Thread Szabolcs Nagy
On 12/13/07, Vasil Dimov [EMAIL PROTECTED] wrote:
 But I am running nearly 20 terminals, each on a separate tag, is there
 a way to do this? Even start those terminals automatically at X+dwm
 startup (after a machine reboot for example)?

sure

eg add a title to those terminals and you can specify tagging rules
wrt term titles

for starting stuff on x startup use eg .xinitrc



Re: [dwm] How to restart after re-compiling dwm without destroying of existing clients?

2007-12-13 Thread Ritesh Kumar
On Dec 13, 2007 3:17 PM, Anselm R. Garbe [EMAIL PROTECTED] wrote:

 On Thu, Dec 13, 2007 at 09:39:24PM +0300, Taras Ivashchenko wrote:
  Hello everybody, sorry if this question already was asked.
 
  Is there way or may be patch to restart after re-compiling dwm without
 destroying of existing clients?
  Something like  restart feature in xmonad?

 while true
 do
dwm
 done

 dwm restarts correctly on Mod-Shift-q within a while loop.


while true; do
date;
(anything else for the statusbar goes here too)
done | while true; do dwm; done

I generally use the above in a launcher script.

Ritesh


Re: [dwm] How to restart after re-compiling dwm without destroying of existing clients?

2007-12-13 Thread Vasil Dimov
On Thu, Dec 13, 2007 at 23:20:46 +0200, Szabolcs Nagy wrote:
 On 12/13/07, Vasil Dimov [EMAIL PROTECTED] wrote:
  But I am running nearly 20 terminals, each on a separate tag, is there
  a way to do this? Even start those terminals automatically at X+dwm
  startup (after a machine reboot for example)?
 
 sure
 
 eg add a title to those terminals and you can specify tagging rules
 wrt term titles
 
 for starting stuff on x startup use eg .xinitrc

Works like a charm, thanks!

-- 
Vasil Dimov
[EMAIL PROTECTED]Software Developer @ Oracle/Innobase Oy
[EMAIL PROTECTED]Committer @ FreeBSD.org
[EMAIL PROTECTED]Home @ Sofia, Bulgaria


pgpeQG01rf62g.pgp
Description: PGP signature