aboutsummaryrefslogtreecommitdiff
path: root/Window_Manager/ratpoison/borderscript
diff options
context:
space:
mode:
authorVasil Zlatanov <vasil.zlatanov@gmail.com>2015-10-20 19:10:08 +0100
committerVasil Zlatanov <vasil.zlatanov@gmail.com>2015-10-20 19:10:08 +0100
commit4b164c41403a5170a667e473f00846133fbdc18d (patch)
tree8b5979310af03b14cf209d91c27e94f89b267ae1 /Window_Manager/ratpoison/borderscript
parent8fdd89bbac4c9f69691e714dff2ed8554ba00cc6 (diff)
downloaddotfiles-4b164c41403a5170a667e473f00846133fbdc18d.tar.gz
dotfiles-4b164c41403a5170a667e473f00846133fbdc18d.tar.bz2
dotfiles-4b164c41403a5170a667e473f00846133fbdc18d.zip
add ratpoison bordscript back
Diffstat (limited to 'Window_Manager/ratpoison/borderscript')
-rwxr-xr-xWindow_Manager/ratpoison/borderscript6
1 files changed, 2 insertions, 4 deletions
diff --git a/Window_Manager/ratpoison/borderscript b/Window_Manager/ratpoison/borderscript
index 1495bec..9ac2113 100755
--- a/Window_Manager/ratpoison/borderscript
+++ b/Window_Manager/ratpoison/borderscript
@@ -1,11 +1,9 @@
-#!/bin/bash
+#!/bin/sh
frames=`ratpoison -c fdump | tr -d -C '(' | wc -c`
-if [[ $frames == 1 ]];then
+if [ $frames -eq 1 ];then
ratpoison -c "hideborder"
-ratpoison -c "hidepadding"
else
ratpoison -c "showborder"
-ratpoison -c "showpadding"
fi