From 4b66da7ff8060fffdeac1cc4cb27f3182b3f2d46 Mon Sep 17 00:00:00 2001 From: Vasil Zlatanov Date: Sun, 23 Feb 2014 16:59:47 +0100 Subject: First commit of dotfiles. --- ratpoison/bordtoggle | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100755 ratpoison/bordtoggle (limited to 'ratpoison/bordtoggle') diff --git a/ratpoison/bordtoggle b/ratpoison/bordtoggle new file mode 100755 index 0000000..4b57c17 --- /dev/null +++ b/ratpoison/bordtoggle @@ -0,0 +1,12 @@ +#!/bin/sh +# This shell script is PUBLIC DOMAIN. You may do whatever you want with it. + +TOGGLE=$HOME/.toggle + +if [ ! -e $TOGGLE ]; then + touch $TOGGLE + ratpoison -c "hideborder" +else + rm $TOGGLE + ratpoison -c "showborder" +fi -- cgit v1.2.3-54-g00ecf