From 3c9281033c9c1f01e45cd73cbc0e4f27e8581014 Mon Sep 17 00:00:00 2001 From: Flinner Date: Sat, 2 Apr 2022 23:06:48 +0300 Subject: [PATCH] feat: goimapnotify --- bin/bin/autostart | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/bin/bin/autostart b/bin/bin/autostart index 594a467..ef75be9 100755 --- a/bin/bin/autostart +++ b/bin/bin/autostart @@ -20,14 +20,31 @@ source ~/.fehbg #dbus-launch emacs --daemon & #other (sleep 1 && picom --config "$HOME/.config/picom.conf" )& -(sleep 1 && keynav)& +#(sleep 1 && keynav)& (sleep 0 && ~/bin/keyboard ) & +killall wired (sleep 1 && wired ) & (sleep 3 && optimus-manager-qt) & (sleep 3 && flameshot) & + (sleep 4 && keepassxc) & +(sleep 6 && bspc rule -r KeePassXC ) & + (sleep 5 && syncthing -no-browser) & (sleep 5 && thunderbird ) & +(sleep 7 && bspc rule -r Thunderbird ) & + +# kill current session and if there is ones waiting to start lol +killall goimapnotify +(sleep 55 && killall goimapnotify) & + +# start watching all mail dirs +for imapnotify_config in ~/Documents/passwords/*_imapnotify.json; do + LOG_FILE=$(sed 's#/#_#g' <<< "$imapnotify_config" ) + (sleep 60 && goimapnotify -conf "$imapnotify_config" &> ~/.cache/"$LOG_FILE") & +done + + #ibus-daemon & #uim-toolbar-gtk3-systray & #uim Japanses Input