Add dfmpeg plugin

This commit is contained in:
Emily Daemon 2022-04-10 09:39:01 +03:00
parent 59fe449ed3
commit 2e3a5d3cbd
2 changed files with 5 additions and 0 deletions

View File

@ -30,4 +30,5 @@ export maildir=""
#module_upload "Up: " " | " #module_upload "Up: " " | "
#module_download "Down: " " | " #module_download "Down: " " | "
#module_mail "Mail: " " | " #module_mail "Mail: " " | "
#module_dfmpeg "Recording!" " | "
module_date "Date: " "" module_date "Date: " ""

View File

@ -76,3 +76,7 @@ module_mail() {
mailoutput="$(ls ${maildir} | wc -l)" mailoutput="$(ls ${maildir} | wc -l)"
[ "$mailoutput" = "0" ] || export bar="${bar}${1}${mailoutput}${2}" [ "$mailoutput" = "0" ] || export bar="${bar}${1}${mailoutput}${2}"
} }
module_dfmpeg() {
[ -f "/tmp/dfmpeg-recording" ] || export bar="${bar}${1}${mailoutput}${2}"
}