9 lines
204 B
Bash
Executable file
9 lines
204 B
Bash
Executable file
#!/bin/sh
|
|
systray=""
|
|
|
|
grep -rq 'RUNNING' /proc/asound/*/*c && systray="$systray "
|
|
grep -rq 'RUNNING' /proc/asound/*/*p && systray="$systray "
|
|
|
|
if [ -n "$systray" ] ; then
|
|
echo "[$systray ]"
|
|
fi
|