feat: stop using thunderbird, thanks birdy :')

This commit is contained in:
Flinner Yuu 2022-04-11 22:37:41 +03:00
parent 47aff11c0a
commit a8b1d4030b
Signed by: flinner
GPG Key ID: 95CE0DA7F0E58CA6
3 changed files with 22 additions and 19 deletions

View File

@ -31,7 +31,8 @@ killall wired
(sleep 6 && bspc rule -r KeePassXC ) &
(sleep 5 && syncthing -no-browser) &
(sleep 5 && thunderbird ) &
#(sleep 5 && thunderbird ) &
(sleep 5 && davmail ) &
(sleep 7 && bspc rule -r Thunderbird ) &
# kill current session and if there is ones waiting to start lol

View File

@ -145,7 +145,7 @@ font-1 = "waffle:size=10;3"
#modules-right = color-switch sep network sep keyboard battery volume backlight sep sysmenu try
modules-left = launcher sep workspaces sep memory_bar cpu_bar sep temperature sep title
modules-center = date sep thunderbird mu4e
modules-center = date sep mu4e_edu mu4e
modules-right = color-switch sep network sep keyboard sep volume brightness sep filesystem_bar sep battery sep sysmenu tray
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_

View File

@ -6,34 +6,36 @@
;; └──────────────────────────────────────────────────────────────────────────────-----┘
;
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
[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
interval = 5
format = <label>
format-prefix =
label-padding = 1
format-prefix-foreground = ${color.yellow}
;[module/mail]
;[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
;format = <label>
;label-padding = 1
;format = <label>
;format-prefix = 
;label-padding = 1
;format-prefix-foreground = ${color.yellow}
[module/mu4e_edu]
type = custom/script
# Educational emails
exec = find ~/.mail -path '*\\.edu.*/*/new/*' -type f | wc -l
interval = 5
format = <label>
label-padding = 1
format-prefix =
format-prefix-foreground = ${color.yellow}
[module/mu4e]
type = custom/script
exec = find ~/.mail -path '*/*/new/*' -type f | wc -l
# anything /but/ educational emails
exec = find ~/.mail -path '*/*/new/*' -not -path '*\\.edu.*/*/new/*' -type f | wc -l
interval = 5