From d923956d4866beb5093c89e0c1a4f54a9c37070f Mon Sep 17 00:00:00 2001 From: Vasil Zlatanov Date: Tue, 18 Aug 2015 01:39:43 +0200 Subject: major fixes and rearrangement --- config/ratpoison/borderscript | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100755 config/ratpoison/borderscript (limited to 'config/ratpoison/borderscript') diff --git a/config/ratpoison/borderscript b/config/ratpoison/borderscript new file mode 100755 index 0000000..1495bec --- /dev/null +++ b/config/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-70-g09d2