summaryrefslogtreecommitdiffstats
path: root/abs/extra-testing/mythappletrailers/loading.sh
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2010-06-23 21:55:32 (GMT)
committerBritney Fransen <brfransen@gmail.com>2010-06-23 21:55:32 (GMT)
commit2c8209bf248d4c68d60a189919db9c29d5eceae7 (patch)
tree3dacdd0de17c0a0d227f3d85f8be8d1e7d8dc8df /abs/extra-testing/mythappletrailers/loading.sh
parent80650b0d4c91464a65f0f7c76fba242a74524ba7 (diff)
downloadlinhes_pkgbuild-2c8209bf248d4c68d60a189919db9c29d5eceae7.zip
linhes_pkgbuild-2c8209bf248d4c68d60a189919db9c29d5eceae7.tar.gz
linhes_pkgbuild-2c8209bf248d4c68d60a189919db9c29d5eceae7.tar.bz2
mythappletrailers: Update loading.sh to use osd_cat.cfg
Diffstat (limited to 'abs/extra-testing/mythappletrailers/loading.sh')
-rwxr-xr-xabs/extra-testing/mythappletrailers/loading.sh12
1 files changed, 11 insertions, 1 deletions
diff --git a/abs/extra-testing/mythappletrailers/loading.sh b/abs/extra-testing/mythappletrailers/loading.sh
index d1ef680..e4e85fc 100755
--- a/abs/extra-testing/mythappletrailers/loading.sh
+++ b/abs/extra-testing/mythappletrailers/loading.sh
@@ -1,2 +1,12 @@
#!/bin/bash
-echo -e "Loading . . . " | osd_cat -p middle -s 5 -f"-adobe-courier-bold-*-*-*-34-*-*-*-*-*" -d 10 -A centre
+
+. /etc/osd_cat.cfg || {
+ color=yellow
+ outline=2
+ outlinecolour=black
+ shadow=0
+ shadowcolour=black
+ font="-adobe-helvetica-bold-*-*-*-34-*-*-*-*-*-*-*"
+}
+
+echo -e "Loading . . . " | osd_cat --pos=middle --align=center --delay=10 --color=$color --outline=$outline --outlinecolour=$outlinecolour --shadow=$shadow --shadowcolour=$shadowcolour --font=$font