summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorepoch <epoch@hacking.allowed.org>2019-02-05 21:55:39 -0600
committerepoch <epoch@hacking.allowed.org>2019-02-05 21:55:39 -0600
commit129b0a46c89321ee4922c8e712adc9f6ce15dd93 (patch)
treed805fd7221da66c01a4948cedb2bb16c12fb3f75 /bin
parentdbce6657b1d59e395dca01f18db8ee76009cd6d0 (diff)
downloadhackvr-129b0a46c89321ee4922c8e712adc9f6ce15dd93.tar.gz
hackvr-129b0a46c89321ee4922c8e712adc9f6ce15dd93.zip
added default font and set makelabel to use it.
Diffstat (limited to 'bin')
-rwxr-xr-xbin/makelabel.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/makelabel.sh b/bin/makelabel.sh
index 62c0505..7bb0d16 100755
--- a/bin/makelabel.sh
+++ b/bin/makelabel.sh
@@ -28,8 +28,8 @@ while read -rN 1 c;do
xoffset=-6
yoffset="$(printf '%d - %d\n' $yoffset 10 | bc)"
fi
- if grep "^$name " ${PREFIX}/share/hackvr/font/font.hackvr 2>&1 > /dev/null;then #don't do this shit unless we actually have something to draw. awk in offsetshape bitches when there's nothing.
- grep "^$name " ${PREFIX}/share/hackvr/font.hackvr \
+ if grep "^$name " ${PREFIX}/share/hackvr/font/default.hackvr 2>&1 > /dev/null;then #don't do this shit unless we actually have something to draw. awk in offsetshape bitches when there's nothing.
+ grep "^$name " ${PREFIX}/share/hackvr/default.hackvr \
| sed 's/^'"$name"'/'"$target"'/' \
| offsetshape.sh "$xoffset" "$yoffset" "$zoffset"
fi