Re: [wmii] wmii snippet: change to previous active view

From: Boo_boo <kaitarou_AT_gmail.com>
Date: Wed, 19 Sep 2007 01:14:42 +0400

> 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: kaitarou_AT_gmail.com
Received on Tue Sep 18 2007 - 23:05:06 UTC

This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 16:27:55 UTC