diff options
| -rwxr-xr-x | .local/bin/dotfiles | 1 | ||||
| -rw-r--r-- | .local/share/dotfiles/README.md | 13 |
2 files changed, 13 insertions, 1 deletions
diff --git a/.local/bin/dotfiles b/.local/bin/dotfiles index 77641b6..aa2b7fc 100755 --- a/.local/bin/dotfiles +++ b/.local/bin/dotfiles @@ -90,6 +90,7 @@ sync) wl-clipboard # Wayland clipboard jq # JSON processor pass # password manager + browserpass # pass native host for browsers shfmt # shell program formatter stylua # Lua formatter base-devel cmake ninja git # nvim build dependencies diff --git a/.local/share/dotfiles/README.md b/.local/share/dotfiles/README.md index b89097b..9b35cc7 100644 --- a/.local/share/dotfiles/README.md +++ b/.local/share/dotfiles/README.md @@ -31,7 +31,17 @@ echo "PASSWORD_STORE_DIR=$HOME/Secret/pass" >>"$HOME/.config/environment.d/50-pa The store is its own git repository, manage it with `pass git ...`, independent of the dotfiles repo. -These variables must be available for other programs to function. See `man 5 environment.d`. Now reboot. That's it! +These variables must be available for other programs to function. See `man 5 environment.d`. Now reboot. + +For browser integration, install the [browserpass][7] extension from the browser's add-on store, then register its +native messaging host (the `browserpass` package is installed by `dotfiles sync`): + +```bash +make -C /usr/lib/browserpass hosts-firefox-user +``` + +browserpass inherits `PASSWORD_STORE_DIR` automatically because the browser is launched with the `environment.d` +environment — which is exactly why that variable lives there and not in the shell rc. That's it! ## Overview @@ -51,3 +61,4 @@ These variables must be available for other programs to function. See `man 5 env [4]: https://github.com/ranger/ranger [5]: https://neovim.io/ [6]: https://www.passwordstore.org/ +[7]: https://github.com/browserpass/browserpass-extension |
