diff options
author | Vasil Zlatanov <vasil.zlatanov@gmail.com> | 2014-02-23 16:59:47 +0100 |
---|---|---|
committer | Vasil Zlatanov <vasil.zlatanov@gmail.com> | 2014-02-23 16:59:47 +0100 |
commit | 4b66da7ff8060fffdeac1cc4cb27f3182b3f2d46 (patch) | |
tree | d596ad6a67295d3f46e4ab189fd2b3539ea83c10 /ratpoison/borderscript | |
download | dotfiles-4b66da7ff8060fffdeac1cc4cb27f3182b3f2d46.tar.gz dotfiles-4b66da7ff8060fffdeac1cc4cb27f3182b3f2d46.tar.bz2 dotfiles-4b66da7ff8060fffdeac1cc4cb27f3182b3f2d46.zip |
First commit of dotfiles.
Diffstat (limited to 'ratpoison/borderscript')
-rwxr-xr-x | ratpoison/borderscript | 11 |
1 files changed, 11 insertions, 0 deletions
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 |