summaryrefslogtreecommitdiff
path: root/i3/Scripts/mic.sh
diff options
context:
space:
mode:
authorJulian T <julian@jtle.dk>2020-01-13 12:51:55 +0100
committerJulian T <julian@jtle.dk>2020-01-13 12:51:55 +0100
commit4486784f8003e3b73bb228443a359a32dc8f0e43 (patch)
tree80590c24122813cbaa938340fd1517249f674fba /i3/Scripts/mic.sh
parent2171f213d6c7d0443c52b736b12f4394b4e34655 (diff)
i3 and zsh cleanup, and passmenu smaller mod
Diffstat (limited to 'i3/Scripts/mic.sh')
-rw-r--r--i3/Scripts/mic.sh19
1 files changed, 0 insertions, 19 deletions
diff --git a/i3/Scripts/mic.sh b/i3/Scripts/mic.sh
deleted file mode 100644
index 78afaa8..0000000
--- a/i3/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