From c28c1245292c6244410fa79325cd45a9cca3fc9d Mon Sep 17 00:00:00 2001 From: Thomas Vanbesien Date: Fri, 29 May 2026 17:08:39 +0200 Subject: misc(dotfiles): sync proton-vpn ignoring gnome-keyring hard dep --- .local/bin/dotfiles | 10 ++++++++++ 1 file changed, 10 insertions(+) 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" ;; -- cgit v1.3.1