aboutsummaryrefslogtreecommitdiffstats
path: root/fish
diff options
context:
space:
mode:
authorGravatar Tom Willemse2019-08-14 23:45:13 -0700
committerGravatar Tom Willemse2019-08-14 23:45:13 -0700
commit946b7425dec6b3a97abdd631f1c00f7f4ca79a4f (patch)
tree15f73fbda4707f826fee94d87f650f43b48cdf2b /fish
parent587bcae5e6bd3a930f08363c0494f618ff4b1d3d (diff)
downloadnew-dotfiles-946b7425dec6b3a97abdd631f1c00f7f4ca79a4f.tar.gz
new-dotfiles-946b7425dec6b3a97abdd631f1c00f7f4ca79a4f.zip
Fix (automatic) syncing of email
- Load the necessary environment variables from ‘gnome-keyring-daemon’ when loading fish. - Don’t sync the Archive directory from ryuslash.org, it’s too big and mbsync seems to get really confused about it. - Disable old email accounts from syncing with mbsync. - Fix the ‘get-mail-password’ and ‘set-mail-password’ scripts. - Use ‘secretstorage’ instead of ‘keyring’, this appears to be newer and easier to use.
Diffstat (limited to 'fish')
-rw-r--r--fish/.config/fish/config.fish4
1 files changed, 4 insertions, 0 deletions
diff --git a/fish/.config/fish/config.fish b/fish/.config/fish/config.fish
index 1a47d8d..270b456 100644
--- a/fish/.config/fish/config.fish
+++ b/fish/.config/fish/config.fish
@@ -9,3 +9,7 @@ set -x EDITOR emacsclient
set -x DOTNET_CLI_TELEMETRY_OPTOUT true
kitty + complete setup fish | source
+
+if test -n "$DESKTOP_SESSION"
+ set (gnome-keyring-daemon --start | string split "=")
+end