From 0cb7943aaa4f921e8b0442d35a0c409e862623f2 Mon Sep 17 00:00:00 2001 From: Anton Bobov Date: Fri, 24 Mar 2017 22:34:25 +0500 Subject: Add scripts. * auto-display - toggle all displays in auto mode * bang - play audio file (useful to notify on other process ending) * bat - display battery status * through-vpn - add host to route through vpn --- bang.sh | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100755 bang.sh (limited to 'bang.sh') diff --git a/bang.sh b/bang.sh new file mode 100755 index 0000000..263c164 --- /dev/null +++ b/bang.sh @@ -0,0 +1,12 @@ +#!/bin/sh + +set -e + +FILE=/usr/share/orage/sounds/Spo.wav + +if [ ! -f "$FILE" ] ; then + echo "No sound file: $FILE" + exit 1 +fi + +aplay --quiet "$FILE" -- cgit v1.2.3