stumpwm-devel
[Top][All Lists]
Advanced

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

[STUMP] Now tested: tagging frames and up to pseudo-heads with their own


From: Michael Raskin
Subject: [STUMP] Now tested: tagging frames and up to pseudo-heads with their own tagged window groups
Date: Sun, 13 Nov 2011 16:52:54 +0400

Seeing the latest increase in activity I send these proposed contrib 
additions.

I haven't changed any of them since sending them as preview, and haven't
had any problems on single- or dual-head setup.

I guess this can be included in the current form; if there are some 
new ideas for improving workflow support, they can be discussed and
implemented.

////

wse is "window selection expressions" - some helper-abbreviations and a macro 
to easily iterate over 
windows satisfying some solution. Probably needs some redesign. Works for now.

Frame tags: as frames are transient notions meaningful mostly inside a single 
StumpWM session, 
no effort is made to preserve them across StumpWM restarts (unlike window 
tags). Trivial tagging
support, with some natural operations like "move window to frame tagged 
something".

Frame-tag-groups: treat tags starting with TG/ specially. All adjacent frames 
sharing the same TG/
tag are called tagged group. You can remove all splits inside tagged group, you 
can pull some 
set of windows (probably defined by tags) into tagged group, you can tag all 
windows in the 
window group with some more tags, you can jump to tagged group by its name (or 
name regexp). 

All that doesn't support significant layout changes - this can be handled by 
current 
group mechanism, probably. I have a few fixed frame layouts so I just define 
them as 
commands in my rc. We could also make a storage for layouts (identified by 
tags, of course) 
and just swap entire heads inside tile-group-frame-tree (or multiple heads if 
the tag is used 
for layouts for different tags). I don't know whether anyone wants it done, 
though.

Attachment: frame-tagged-group.lisp
Description: Text document

Attachment: frame-tags.lisp
Description: Text document

Attachment: wse-frame-tags.lisp
Description: Text document

Attachment: wse-window-tags.lisp
Description: Text document

Attachment: wse.lisp
Description: Text document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]