aboutsummaryrefslogtreecommitdiff
path: root/tools/bordtoggle
blob: 4b57c1776b290727720a3a70a40c5e271bf83583 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh
# This shell script is PUBLIC DOMAIN. You may do whatever you want with it.

TOGGLE=$HOME/.toggle

if [ ! -e $TOGGLE ]; then
    touch $TOGGLE
    ratpoison -c "hideborder"
else
    rm $TOGGLE
    ratpoison -c "showborder"
fi