diff --git a/polybar/.config/polybar/forest/user_modules.ini b/polybar/.config/polybar/forest/user_modules.ini index 3a01746..3606560 100644 --- a/polybar/.config/polybar/forest/user_modules.ini +++ b/polybar/.config/polybar/forest/user_modules.ini @@ -9,7 +9,7 @@ [module/thunderbird] type = custom/script -exec = find ~/.thunderbird/*/ImapMail -name 'INBOX*.msf' -exec sh -c "echo '{}' && grep '(^A2=' '{}' | tail -n1 | sed -r 's/.*\(\^A2=(\w+)\).*/\1/' | xargs --replace=__ printf '%d\n' '0x__'" \; | grep -o '^[0-9]' | paste -sd+ | bc +exec = find ~/.thunderbird/*/ImapMail -name 'INBOX*.msf' -exec sh -c "echo '{}' && grep '(^A2=' '{}' | tail -n1 | sed -r 's/.*\\(\\^A2=(\\w+)\\).*/\\1/' | xargs --replace=__ printf '%d\\n' '0x__'" \\; | grep -o '^[0-9]' | paste -sd+ | bc interval = 5 @@ -33,7 +33,7 @@ format-prefix-foreground = ${color.yellow} [module/mu4e] type = custom/script -exec = ( ls -1 ~/.mail/*/*/new/* 2> /dev/null | wc -l ) || echo 0 +exec = find ~/.mail -path '*/*/new/*' -type f | wc -l interval = 5