summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-x.local/bin/dotfiles10
1 files changed, 10 insertions, 0 deletions
diff --git a/.local/bin/dotfiles b/.local/bin/dotfiles
index a30ea9a..a2f4e64 100755
--- a/.local/bin/dotfiles
+++ b/.local/bin/dotfiles
@@ -130,6 +130,15 @@ reinstall_nvim() {
fi
}
+# python-proton-keyring-linux (a dependency of proton-vpn-…) has gnome-keyring
+# as a hard dependency even though one can actually use any provider of
+# org.freedesktop.secrets (like pass-secret-service in this project).
+# So we just install it assuming gnome-keyring is installed, and it properly
+# picks up our secret service provider on the DBus.
+sync_proton_vpn() {
+ sudo pacman -S --assume-installed gnome-keyring proton-vpn-gtk-app proton-vpn-cli
+}
+
case ${1:-} in
sync)
declare deps=(
@@ -168,6 +177,7 @@ sync)
sync_nvim
sync_mdformat
sync_claude
+ sync_proton_vpn
;;
reinstall-nvim) reinstall_nvim ;;
on) clipboard_hint "source $HOME/.local/share/dotfiles/dotfiles_on.env" ;;