summarylogtreecommitdiffstats
path: root/barnard-git.install
diff options
context:
space:
mode:
authorStorm Dragon2019-09-30 19:20:36 -0400
committerStorm Dragon2019-09-30 19:20:36 -0400
commit03fbc36c444ad6aa0300243f6fb6cc9a6583730e (patch)
tree70b763fcda4625ea390870d141702fe7814b70ae /barnard-git.install
parent17129db2776cf733e0d0b904c223307a88aee624 (diff)
downloadaur-03fbc36c444ad6aa0300243f6fb6cc9a6583730e.tar.gz
Updated PKGBUILD for extra script, added install file.
Diffstat (limited to 'barnard-git.install')
-rwxr-xr-xbarnard-git.install15
1 files changed, 15 insertions, 0 deletions
diff --git a/barnard-git.install b/barnard-git.install
new file mode 100755
index 000000000000..c30b804823b8
--- /dev/null
+++ b/barnard-git.install
@@ -0,0 +1,15 @@
+_alert() {
+cat << 'EOF'
+For alerts and sound options, install the sox package and add the following line to your ~/.barnard.yaml:
+notifycommand: /usr/share/barnard/barnard-sound.sh "%event" "%who" "%what"
+make sure to edit the sound script to use youre preferred settings.
+EOF
+}
+
+post_install() {
+ _alert
+}
+
+post_upgrade() {
+ _alert
+}