diff options
| author | Anton Bobov <abobov@gmail.com> | 2017-03-24 22:34:25 +0500 |
|---|---|---|
| committer | Anton Bobov <abobov@gmail.com> | 2017-03-24 22:34:25 +0500 |
| commit | 0cb7943aaa4f921e8b0442d35a0c409e862623f2 (patch) | |
| tree | 41cda900bfcdd29c33121cdf0a5282b8641b8a8a /bang.sh | |
| parent | 03be9e0536963e3ff4a628ed78347b9569b52ee3 (diff) | |
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
Diffstat (limited to 'bang.sh')
| -rwxr-xr-x | bang.sh | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -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" |
