Re: Run command and focus its window?



On Wednesday 23 March 2011 21:11:29 Jan Kasprzak wrote:
> 	Hello,
> 
> I wonder whether the following is doable in Sawfish:
> 
> When mapping a new window, I don't want it to get focus by default.
> There is one exception:
> 
> 	I have a hotkey (Super+t) for running a new terminal. I have
> discovered that I use this hotkey solely if I want to do something
> in a new shell. So it would be nice if the terminal started by Super+t
> could get focus as soon asi its window is mapped. Otherwise I would
> defeat the whole purpose of having a hotkey, because in order to focus
> the new terminal I would have to reach for a mouse (or use focus by
> direction, which depends on the exact place where sawfish decides to place
> the window).
> 
> 	How would you do this?

try the focus-when-mapped window-matcher. Else you may want to use jump-or-
exec, so that Sawfish jumps to the terminal, if already open or starts it 
instead.

Chris

> 	Thanks,
> 
> -Yenya

Attachment: signature.asc
Description: This is a digitally signed message part.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]