aboutsummaryrefslogtreecommitdiff
path: root/runit/startupsound
diff options
context:
space:
mode:
authorYaroslav <contact@yaroslavps.com>2020-08-07 13:33:20 +0300
committerYaroslav <contact@yaroslavps.com>2020-08-07 13:33:20 +0300
commit342c1e47790d71e097ae10cfe67212401e1e46b9 (patch)
tree52a28d1c78440df08e204dfdef9670bc76a23e16 /runit/startupsound
parent916163d1b7cb06438aa3c0285c515061d0480dd0 (diff)
downloadswayrice-342c1e47790d71e097ae10cfe67212401e1e46b9.tar.gz
swayrice-342c1e47790d71e097ae10cfe67212401e1e46b9.zip
Added some runit startup scripts
Diffstat (limited to 'runit/startupsound')
-rwxr-xr-xrunit/startupsound/run7
1 files changed, 7 insertions, 0 deletions
diff --git a/runit/startupsound/run b/runit/startupsound/run
new file mode 100755
index 0000000..b625d63
--- /dev/null
+++ b/runit/startupsound/run
@@ -0,0 +1,7 @@
+#!/bin/sh -e
+
+sv start agetty-tty2 || exit 1
+
+mpv --audio-device='<DESIRED_AUDIO_DEVICE>' --volume=100 --really-quiet /home/yaroslav/.local/share/soundalerts/start.ogg&
+
+exec chpst -b startupsound pause