aboutsummaryrefslogtreecommitdiff
path: root/ratpoison/paneltoggle
blob: cb5f36742ab63c1ac68c1766959ace6a2053fadc (plain)
1
2
3
4
5
6
7
8
9
10
#!/bin/sh
TOGGLE=$HOME/.toggle

if [ ! -e $TOGGLE ]; then
    touch $TOGGLE
    ratpoison -c hidepanel
else
    rm $TOGGLE
    ratpoison -c showpanel
fi