diff --git a/.functions.sh b/.functions.sh index d1d0a66..ebaf8db 100644 --- a/.functions.sh +++ b/.functions.sh @@ -1,4 +1,11 @@ #!/bin/bash + +function reset_evolution() { + # Reset evolution calendar factory + # When it hangs connecting to EWS calendar outlooko365 + EWS_DEBUG=2 /usr/lib/evolution-data-server/evolution-calendar-factory -w +} + function salt() { if [[ "$1" == "state.apply" ]]; then sudo salt-call --local --file-root "$HOME/salt/states" --pillar-root "$HOME/salt/pillars" "$@" pillar="{username: $USER}"