mcom blocks mbsync, ncspot without abduco, hide past events in agenda
This commit is contained in:
parent
638eafecf7
commit
e260c8d5cf
2 changed files with 4 additions and 2 deletions
|
@ -16,6 +16,9 @@ ip route ls | grep -q '.'
|
|||
# check if the gpg-agent is running
|
||||
pgrep gpg-agent > /dev/null
|
||||
|
||||
# Don't sync mails while composing
|
||||
if pgrep -f mcom > /dev/null; then exit 1; fi
|
||||
|
||||
# Sync email
|
||||
mbsync -a -q || true
|
||||
|
||||
|
|
3
zshrc
3
zshrc
|
@ -78,10 +78,9 @@ alias agent='eval "$(ssh-agent)" && ssh-add'
|
|||
alias unlock='gpg-connect-agent <<<bye'
|
||||
|
||||
alias weechat="ssh -t weechat@Hetzner abduco -A weechat"
|
||||
alias ncspot="abduco -A ncspot ncspot"
|
||||
|
||||
function agenda() {
|
||||
khal calendar --format '{calendar-color}{cancelled}{start-end-time-style}{repeat-symbol} {title}{reset}' ${@:-today 2d}
|
||||
khal calendar --format '{calendar-color}{cancelled}{start-end-time-style}{repeat-symbol} {title}{reset}' ${@:-now 2d}
|
||||
}
|
||||
|
||||
# Ledger
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue