I have seen the snippets page, and i think you refer to this one :
$MODKEY-Control-Right)
ctag=`wmiir read /view/sel/name`;
xwrite /view/ctl view `wmiir read /view | awk '{if
($NF=='$ctag'){print last; exit} last=$NF;}'`;;
But it's not working :
wmiir read /view/sel/name
wmiir: cannot open file '/view/sel/name': file not found
is it not for a old version with another tree structure ?
( i like Ivan's version, no awk :))
_______________________________________________
[email protected] mailing list
http://wmii.de/cgi-bin/mailman/listinfo/wmii