ratpoison-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [RP] ratpoison script to show all windows


From: Florian Cramer
Subject: Re: [RP] ratpoison script to show all windows
Date: Tue Nov 18 03:12:04 2003
User-agent: Mutt/1.5.4i

Am Montag, 17. November 2003 um 21:08:46 Uhr (-0800) schrieb Shawn
Betts:
 
> ratpoison -i -c fselect
> 
> does what you want. Hack on!

Which results in the following new ending of the script:


# Depending on the argument the script was executed with,
# 1- select a new window and exit opening it fullscreen
# 2- restore frameset after keyboard input 
# 3- restore frameset after $wait seconds of delay 

ratpoison -c "select $curframe"
if [ $wait -eq 0 ]; then
        ratpoison -i -c fselect
        ratpoison -c only
else
        ratpoison -i -c windows
        if [ $wait -eq -1 ]; then
                echo -n "Hit return to restore window layout. "
                read i
        else
                sleep $wait
        fi
        ratpoison -c "frestore $curlayout"
fi


-F

-- 
http://userpage.fu-berlin.de/~cantsin/homepage/
http://www.complit.fu-berlin.de/institut/lehrpersonal/cramer.html
GnuPG/PGP public key ID 3200C7BA, finger address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]