mirror of https://github.com/Flinner/dots.git
feat: stop using thunderbird, thanks birdy :')
This commit is contained in:
parent
47aff11c0a
commit
a8b1d4030b
|
@ -31,7 +31,8 @@ killall wired
|
||||||
(sleep 6 && bspc rule -r KeePassXC ) &
|
(sleep 6 && bspc rule -r KeePassXC ) &
|
||||||
|
|
||||||
(sleep 5 && syncthing -no-browser) &
|
(sleep 5 && syncthing -no-browser) &
|
||||||
(sleep 5 && thunderbird ) &
|
#(sleep 5 && thunderbird ) &
|
||||||
|
(sleep 5 && davmail ) &
|
||||||
(sleep 7 && bspc rule -r Thunderbird ) &
|
(sleep 7 && bspc rule -r Thunderbird ) &
|
||||||
|
|
||||||
# kill current session and if there is ones waiting to start lol
|
# kill current session and if there is ones waiting to start lol
|
||||||
|
|
|
@ -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-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-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
|
modules-right = color-switch sep network sep keyboard sep volume brightness sep filesystem_bar sep battery sep sysmenu tray
|
||||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
||||||
|
|
||||||
|
|
|
@ -6,34 +6,36 @@
|
||||||
;; └──────────────────────────────────────────────────────────────────────────────-----┘
|
;; └──────────────────────────────────────────────────────────────────────────────-----┘
|
||||||
;
|
;
|
||||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
||||||
[module/thunderbird]
|
;[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]
|
|
||||||
;type = custom/script
|
;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
|
;interval = 5
|
||||||
|
|
||||||
;format = <label>
|
;format = <label>
|
||||||
;label-padding = 1
|
|
||||||
;format-prefix =
|
;format-prefix =
|
||||||
|
;label-padding = 1
|
||||||
;format-prefix-foreground = ${color.yellow}
|
;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]
|
[module/mu4e]
|
||||||
type = custom/script
|
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
|
interval = 5
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue