This commit is contained in:
tavo-wasd 2023-08-02 20:00:31 -06:00
parent 0ec54508f5
commit 71f840b11a

8
scripts/systray Executable file
View file

@ -0,0 +1,8 @@
#!/bin/sh
systray=""
ps aux | grep -v grep | grep -q "$HOME/.config/scripts/record" && systray="$systray 󰻃"
grep -rq 'RUNNING' /proc/asound/*/*c && systray="$systray "
grep -rq 'RUNNING' /proc/asound/*/*p && systray="$systray 󰕾"
[ -n "$systray" ] && echo "[$systray ]"