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/borderscript | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100755 ratpoison/borderscript (limited to 'ratpoison/borderscript') diff --git a/ratpoison/borderscript b/ratpoison/borderscript new file mode 100755 index 0000000..1495bec --- /dev/null +++ b/ratpoison/borderscript @@ -0,0 +1,11 @@ +#!/bin/bash + +frames=`ratpoison -c fdump | tr -d -C '(' | wc -c` + +if [[ $frames == 1 ]];then +ratpoison -c "hideborder" +ratpoison -c "hidepadding" +else +ratpoison -c "showborder" +ratpoison -c "showpadding" +fi -- cgit v1.2.3-54-g00ecf