aboutsummaryrefslogtreecommitdiff
path: root/tools/borderscript
blob: 1495bec4f4502b9890c044a8907c62b8edfce43c (plain)
1
2
3
4
5
6
7
8
9
10
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