summaryrefslogtreecommitdiff
path: root/dwm/Scripts/mic.sh
diff options
context:
space:
mode:
authorJulian T <julian@jtle.dk>2020-05-29 11:17:27 +0200
committerJulian T <julian@jtle.dk>2020-05-29 11:17:27 +0200
commit0e774422009fc812a9969d1825497e50101c9d42 (patch)
treec0e967d5d453a98663cfb6879aacd8195b2961e8 /dwm/Scripts/mic.sh
parent94138a90320d5acabf9ef55e3eddada99368eb32 (diff)
Removed dwm, see legacy_dwm branch
Diffstat (limited to 'dwm/Scripts/mic.sh')
-rw-r--r--dwm/Scripts/mic.sh19
1 files changed, 0 insertions, 19 deletions
diff --git a/dwm/Scripts/mic.sh b/dwm/Scripts/mic.sh
deleted file mode 100644
index 78afaa8..0000000
--- a/dwm/Scripts/mic.sh
+++ /dev/null
@@ -1,19 +0,0 @@
-PIDFILE=/tmp/statMic.pid
-STATUSFILE=/tmp/dsbAMic
-
-kill `cat $PIDFILE`
-if [ $? -eq 0 ]; then
- echo "Shutting down"
- rm $STATUSFILE
- exit
-fi
-
-echo $$ > $PIDFILE
-
-while true; do
-
- MIC=$(amixer get Capture | grep "Front Left:" | sed 's/.*\[\(.*\)\].*/\1/')
-
- echo "$MIC " > $STATUSFILE
- sleep 1
-done