summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Vanbesien <tvanbesi@proton.me>2026-05-29 17:08:39 +0200
committerThomas Vanbesien <tvanbesi@proton.me>2026-05-29 17:08:39 +0200
commitc28c1245292c6244410fa79325cd45a9cca3fc9d (patch)
tree70cbc7fee0cc41a3cf445f4ba3260be70920109b
parent2c790a4b7abe1473f802cc5e408a1291e6ebb8ee (diff)
downloaddotfiles-c28c1245292c6244410fa79325cd45a9cca3fc9d.tar.gz
dotfiles-c28c1245292c6244410fa79325cd45a9cca3fc9d.zip
misc(dotfiles): sync proton-vpn ignoring gnome-keyring hard dep
-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" ;;