aboutsummaryrefslogtreecommitdiff
path: root/ratpoison/paneltoggle
diff options
context:
space:
mode:
authorVasil Zlatanov <vasil.zlatanov@gmail.com>2014-02-23 16:59:47 +0100
committerVasil Zlatanov <vasil.zlatanov@gmail.com>2014-02-23 16:59:47 +0100
commit4b66da7ff8060fffdeac1cc4cb27f3182b3f2d46 (patch)
treed596ad6a67295d3f46e4ab189fd2b3539ea83c10 /ratpoison/paneltoggle
downloaddotfiles-4b66da7ff8060fffdeac1cc4cb27f3182b3f2d46.tar.gz
dotfiles-4b66da7ff8060fffdeac1cc4cb27f3182b3f2d46.tar.bz2
dotfiles-4b66da7ff8060fffdeac1cc4cb27f3182b3f2d46.zip
First commit of dotfiles.
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