summaryrefslogtreecommitdiffstats
path: root/.xinitrc.d/snd-pcm-open
diff options
context:
space:
mode:
authorP. J. McDermott <pj@pehjota.net>2022-10-01 11:09:07 (EDT)
committer P. J. McDermott <pj@pehjota.net>2022-10-01 11:09:07 (EDT)
commite7a3408bb1381cb464c24663c19125dca70e2ced (patch)
tree11bc224e5d5e8e83c1d720bc0605be0aabb18716 /.xinitrc.d/snd-pcm-open
parent86787984c637871f005d372e51f0b85d5521c026 (diff)
downloadfluxbox-e7a3408bb1381cb464c24663c19125dca70e2ced.zip
fluxbox-e7a3408bb1381cb464c24663c19125dca70e2ced.tar.gz
fluxbox-e7a3408bb1381cb464c24663c19125dca70e2ced.tar.bz2
bin/snd-pcm-open.c: Addhost/alsvid3
Diffstat (limited to '.xinitrc.d/snd-pcm-open')
-rwxr-xr-x.xinitrc.d/snd-pcm-open8
1 files changed, 8 insertions, 0 deletions
diff --git a/.xinitrc.d/snd-pcm-open b/.xinitrc.d/snd-pcm-open
new file mode 100755
index 0000000..7d15ee3
--- /dev/null
+++ b/.xinitrc.d/snd-pcm-open
@@ -0,0 +1,8 @@
+#!/bin/sh
+
+if ! [ -e bin/snd-pcm-open ] && [ -e bin/snd-pcm-open.c ]; then
+ gcc -Wall -Wextra -pedantic -o bin/snd-pcm-open bin/snd-pcm-open.c \
+ -lasound
+fi
+
+bin/snd-pcm-open &