diff options
author | Vasil Zlatanov <vasil.zlatanov@gmail.com> | 2015-10-20 19:10:08 +0100 |
---|---|---|
committer | Vasil Zlatanov <vasil.zlatanov@gmail.com> | 2015-10-20 19:10:08 +0100 |
commit | 4b164c41403a5170a667e473f00846133fbdc18d (patch) | |
tree | 8b5979310af03b14cf209d91c27e94f89b267ae1 /Window_Manager/ratpoison/borderscript | |
parent | 8fdd89bbac4c9f69691e714dff2ed8554ba00cc6 (diff) | |
download | dotfiles-4b164c41403a5170a667e473f00846133fbdc18d.tar.gz dotfiles-4b164c41403a5170a667e473f00846133fbdc18d.tar.bz2 dotfiles-4b164c41403a5170a667e473f00846133fbdc18d.zip |
add ratpoison bordscript back
Diffstat (limited to 'Window_Manager/ratpoison/borderscript')
-rwxr-xr-x | Window_Manager/ratpoison/borderscript | 6 |
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 |