2024-10-16 07:52:52 +01:00
|
|
|
# Email
|
|
|
|
ADDRESS="e.litherlandsmith@proton.me"
|
|
|
|
secret-tool lookup email "$ADDRESS" >/dev/null || (
|
|
|
|
echo "Insert pass from protonmail-bridge"
|
|
|
|
secret-tool store --label="Proton Mail mbsync" email "$ADDRESS"
|
|
|
|
)
|
|
|
|
|
|
|
|
ADDRESS="e.litherlandsmith@icloud.com"
|
|
|
|
secret-tool lookup email "$ADDRESS" >/dev/null || (
|
|
|
|
pass show identity/apple.com/mbsync |
|
|
|
|
head -n1 |
|
|
|
|
secret-tool store --label="iCloud mbsync" email "$ADDRESS"
|
|
|
|
)
|
|
|
|
|
|
|
|
ADDRESS="evie.litherland-smith@ukaea.uk"
|
|
|
|
secret-tool lookup email "$ADDRESS" >/dev/null || (
|
|
|
|
pass show work/microsoftonline.com |
|
|
|
|
head -n1 |
|
|
|
|
secret-tool store --label="Outlook mbsync" email "$ADDRESS"
|
|
|
|
)
|
|
|
|
|
|
|
|
# Calendar
|
|
|
|
URL="dav.xenia.me.uk"
|
|
|
|
USER="pixelifytica"
|
|
|
|
secret-tool lookup url "$URL" user "$USER" >/dev/null || (
|
|
|
|
pass show "server/xenia.me.uk/$URL" |
|
|
|
|
head -n1 |
|
|
|
|
secret-tool store --label="Personal calendar vdirsyncer" url "$URL" user "$USER"
|
|
|
|
)
|
|
|
|
|
|
|
|
# Spotify
|
2024-10-16 07:58:49 +01:00
|
|
|
# See https://docs.spotifyd.rs/config/File.html for attribute details
|
|
|
|
secret-tool lookup application rust-keyring service spotifyd username pixelifytica >/dev/null || (
|
2024-10-16 07:52:52 +01:00
|
|
|
pass show media/spotify.com |
|
|
|
|
head -n1 |
|
2024-10-16 07:58:49 +01:00
|
|
|
secret-tool store --label="Spotify" application rust-keyring service spotifyd username pixelifytica
|
2024-10-16 07:52:52 +01:00
|
|
|
)
|