On Sun, Dec 21, 2008 at 10:23:38PM -0800, Nathan Neff wrote:
>if there is 1 column open, then open a new column when I create a window
>otherwise, split current column.
It's not really straightforward. You'd have to script it.
Event CreateClient
local client=$1
IFS=+; local tags=$(wmiir read /client/$client/tags); unset IFS
for tag in $tags; do
if [ $(wmiir read "/tag/$tag/index" | grep '^#' | wc -l) = 2 ]; then
wmiir xwrite "/tag/$tag/ctl" $client right
fi
done
-- Kris Maglione The string is a stark data structure and everywhere it is passed there is duplication. It is a perfect vehicle for hiding information. --Alan J. PerlisReceived on Mon Dec 22 2008 - 23:53:59 UTC
This archive was generated by hypermail 2.2.0 : Tue Dec 23 2008 - 00:00:07 UTC