aboutsummaryrefslogtreecommitdiff
path: root/Window_Manager/ratpoison/borderscript
blob: 9ac21131e668b2b7bec9a0c883e8ad511bc13e8e (plain)
1
2
3
4
5
6
7
8
9
#!/bin/sh

frames=`ratpoison -c fdump | tr -d -C '(' | wc -c`

if [ $frames -eq 1 ];then
ratpoison -c "hideborder"
else
ratpoison -c "showborder"
fi