aboutsummaryrefslogtreecommitdiff
path: root/ratpoison/paneltoggle
diff options
context:
space:
mode:
Diffstat (limited to 'ratpoison/paneltoggle')
-rwxr-xr-xratpoison/paneltoggle10
1 files changed, 10 insertions, 0 deletions
diff --git a/ratpoison/paneltoggle b/ratpoison/paneltoggle
new file mode 100755
index 0000000..cb5f367
--- /dev/null
+++ b/ratpoison/paneltoggle
@@ -0,0 +1,10 @@
+#!/bin/sh
+TOGGLE=$HOME/.toggle
+
+if [ ! -e $TOGGLE ]; then
+ touch $TOGGLE
+ ratpoison -c hidepanel
+else
+ rm $TOGGLE
+ ratpoison -c showpanel
+fi