From c7fb64dc7e4c23a75a0c70ed04cac2b90dac45fd Mon Sep 17 00:00:00 2001 From: Thomas Vanbesien Date: Fri, 29 May 2026 17:29:29 +0200 Subject: misc(dotfiles): replace useless function with corresponding package --- .local/bin/dotfiles | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) (limited to '.local') diff --git a/.local/bin/dotfiles b/.local/bin/dotfiles index be0a929..2542f28 100755 --- a/.local/bin/dotfiles +++ b/.local/bin/dotfiles @@ -70,20 +70,6 @@ sync_mdformat() { fi } -link_browserpass_host() { - # Upstream-supported install of the Firefox native messaging host - # (symlinks the packaged manifest into ~/.mozilla/native-messaging-hosts/). - # Skips when browserpass isn't installed (pacman prompt declined), and - # stays silent when the symlink is already correct (the make target is - # `ln -sfv`, idempotent but noisy on every run). - [[ -f /usr/lib/browserpass/Makefile ]] || return 0 - local host=com.github.browserpass.native.json - local src=/usr/lib/browserpass/hosts/firefox/$host - local dest="$HOME/.mozilla/native-messaging-hosts/$host" - if [[ "$dest" -ef "$src" ]]; then return; fi - make --no-print-directory --directory=/usr/lib/browserpass hosts-firefox-user -} - sync_claude() { if [[ ! -x ~/.local/bin/claude ]]; then curl -fsSL https://claude.ai/install.sh | bash @@ -159,6 +145,7 @@ sync) pass # password manager firefox # web browser browserpass # pass native host for browsers + browserpass-firefox # firefox extension for browserpass yay # AUR helper (for pass-secret-service-bin) shfmt # shell program formatter stylua # Lua formatter @@ -172,7 +159,6 @@ sync) sync_deps "${deps[@]}" sync_aur pass-secret-service-bin vim-language-server disable_kwallet_secret_service - link_browserpass_host sync_nvim sync_mdformat sync_claude -- cgit v1.3.1