On Thu, Feb 28, 2008 at 04:35:34PM +0100, Davide Anchisi wrote:
> - It would be useful also to have the name of the floating windows
> appear in the status bar (or in a menu in the status bar, like the
> menu for programs) and to click on the name to focus and rise or to
> hide the window
Simple. Something like this should work (:s in titles are a bit
of an issue):
ifs=$nl {
clients = `{
wmiir read /tag/sel/index |
awk '/^~/ { split($0, a, /:/); print a[2]":"$2 }'}
}
wmiir xwrite /tag/sel/ctl select client `{9menu $clients}
The usual caveats apply. i.e. it's untested, and incomplete.
-- Kris Maglione If you're wondering if you left the coffee pot plugged in, you did. PGP: http://suckless.org/~jg/pubkey.pgp SHA1 (pubkey.pgp) = 2d464f9dbb186bee6f4faa88e2f6c5802bcfd935
This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 16:37:05 UTC