From a8b1d4030be418aaa7f9eee47643347ca7d112b3 Mon Sep 17 00:00:00 2001 From: Flinner Yuu Date: Mon, 11 Apr 2022 22:37:41 +0300 Subject: [PATCH] feat: stop using thunderbird, thanks birdy :') --- bin/bin/autostart | 3 +- polybar/.config/polybar/forest/config.ini | 2 +- .../.config/polybar/forest/user_modules.ini | 36 ++++++++++--------- 3 files changed, 22 insertions(+), 19 deletions(-) diff --git a/bin/bin/autostart b/bin/bin/autostart index ef75be9..5929cf9 100755 --- a/bin/bin/autostart +++ b/bin/bin/autostart @@ -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 diff --git a/polybar/.config/polybar/forest/config.ini b/polybar/.config/polybar/forest/config.ini index d356c5f..b84304d 100644 --- a/polybar/.config/polybar/forest/config.ini +++ b/polybar/.config/polybar/forest/config.ini @@ -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 ;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ diff --git a/polybar/.config/polybar/forest/user_modules.ini b/polybar/.config/polybar/forest/user_modules.ini index 3606560..75238cc 100644 --- a/polybar/.config/polybar/forest/user_modules.ini +++ b/polybar/.config/polybar/forest/user_modules.ini @@ -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 =