Hi Marco,

On Mon, Jan 21, 2013 at 04:26:59PM +0100, Marco wrote:
> On 2013–01–21 Uli Schlachter wrote:
> 
> > It's doable, but other stuff is more important.
> 
> That's arguable :) I agree if you use a desktop with a static screen
> setup. But if you use a laptop and reconnect your screen 4 times per
> day, you will re-state you priorities.
> 
> I don't know how other window managers deal with this issue. Do they
> all completely lose the state and fall back to the default window
> configuration?

Well, I for my part also had the problem that the state got lost, but I was
also annoyed by the fact, that on each boot (and my work-machine has to be
powered on and off each day) I have to start all applications again and
move them to the right tag, and so on. So I looked around and found rules
and shifty. I loved the dynamic stuff of shifty, so it took me quite a
while, but by now each window get's opened where it belongs, and I have
only 2 corner cases: my vlc is quite movable depending on in which
situation I am, and virtualbox is not always on the tag I'd like to have it
on (depending on quite complex rules, that I am not able to write down -
else this would have been solved by now).

So I resolved all this with a config that looks at the hostname and
screen.count() and depending on these it layouts my tags and defines which
window to be on which screen. So if I really do this perfect I'll never
have to care if it is restarting or just adjusting the screens-table.
(well, my current config would break if the config wouldn't be fully
evaluated again, so the tradeoff is : restarting or changing table and
reloading config - I guess restarting costs less time)

Regards,
Andre

-- 
Andre Klärner

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to