systray
This commit is contained in:
parent
0ec54508f5
commit
71f840b11a
1 changed files with 8 additions and 0 deletions
8
scripts/systray
Executable file
8
scripts/systray
Executable 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 ]"
|
Loading…
Reference in a new issue