summaryrefslogtreecommitdiffstats
path: root/.xinitrc.d/snd-pcm-open
diff options
context:
space:
mode:
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 &