> switch_view() {
>       ptag_tmp=`wmiir read /tag/sel/ctl`
>       wmiir xwrite /ctl view $1
>       PREV_TAG=$ptag_tmp
> }

obviously ptag_tmp is not needed here, it left from some debugging %)
so

switch_view() {
        PREV_TAG=`wmiir read /tag/sel/ctl`
        wmiir xwrite /ctl view $1
}

-- 
With best regards,
Boo-boo

mailto: [EMAIL PROTECTED]

Reply via email to