diff options
Diffstat (limited to 'config/ratpoison/borderscript')
-rwxr-xr-x | config/ratpoison/borderscript | 11 |
1 files changed, 11 insertions, 0 deletions
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 |