diff options
| -rwxr-xr-x | archsetup | 2 | ||||
| -rw-r--r-- | scripts/protonmail-bridge.sh | 17 |
2 files changed, 19 insertions, 0 deletions
@@ -550,6 +550,8 @@ desktop_environment() { pacman_install gnupg pacman_install polkit pacman_install gnome-keyring + pacman_install seahorse + pacman_install pass # ensure correct permissions on .gpg directory # the colon means the user's group will have perms diff --git a/scripts/protonmail-bridge.sh b/scripts/protonmail-bridge.sh new file mode 100644 index 0000000..7dd8ad6 --- /dev/null +++ b/scripts/protonmail-bridge.sh @@ -0,0 +1,17 @@ +#!/bin/sh + +# build proton bridge +mkdir $HOME/protonbridgebuild && cd $HOME/protonbridgebuild +wget https://proton.me/download/bridge/PKGBUILD +makepkg -s --install + +# init pass with a passphrase-free GPG key +gpg --batch --passphrase '' --quick-gen-key 'ProtonMailBridge' default default never +pass init "ProtonMailBridge" + +# launch protonmail-bridge +cd $HOME +protonmail-bridge & + +# cleanup +rm -rf $HOME/protonbridgebuild |
