This script count the files in you trash directory.
[module/info-trash] type = custom/script exec = ~/polybar-scripts/info-trash.sh interval = 60 click-left = ~/polybar-scripts/info-trash.sh --clean &