dotfiles/scripts/status/systray
2024-12-28 14:36:59 -06:00

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