setups my desktop environment from a debian netinst
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

16 lines
271 B

#!/usr/bin/fish
set VIDEO ( pgrep ffmpeg )
set AUDIO ( pgrep jack_capture )
if test "$VIDEO" != "" && test "$AUDIO" != ""
echo "Audio/Video"
else if test "$VIDEO" != ""
echo "Video"
else if test "$AUDIO" != ""
echo "Audio"
else
echo "Nothing"
end
exit