~palb91/bwm

Type a password from bitwarden in a Wayland environment
98931a6d — Pierre-Albéric TROUPLIN 1 year, 4 months ago
feat: qutebrowser flag, xdotool -> xvkbd and more
ed82eeb9 — Pierre-Albéric TROUPLIN 1 year, 4 months ago
README: move rst to md
b8eca8dd — Pierre-Albéric TROUPLIN 2 years ago
fix: dirty fix for keymap

refs

main
browse  log 

clone

read-only
https://git.sr.ht/~palb91/bwm
read/write
git@git.sr.ht:~palb91/bwm

You can also use your local clone with git send-email.

#bwm

Type a password from bitwarden in a Wayland environment.

Usage:
    bwm [ -h ]
    bwm [ -u | -b | -o ] [URL]
    bwm -c [ -u | -o ] [URL]

Options:
    -u, --user  Type the username instead of the password.
    -b, --both  Type the username and the password separated by a <Tab>.
    -o, --otp   Type the otp code if exists.
    -c, --copy  Copy instead of type.
    -h, --help  Print this help.

Argument:
    URL         If any, must be the last parameter. bwm will try to find only
                matching values from `bw`.

#Note

I mostly use it with qutebrowser.

I set up qutebrowser as follow (bwm should be in your $PATH):

# in config.py
config.bind('<Alt-p>', 'mode-enter insert ;; spawn -- bwm {url}')
config.bind('<Alt-u>', 'mode-enter insert ;; spawn -- bwm -u {url}')
config.bind('<Alt-l>', 'mode-enter insert ;; spawn -- bwm -b {url}')
config.bind('<Alt-o>', 'mode-enter insert ;; spawn -- bwm -o {url}')
config.bind('<Alt-p>', 'spawn -- bwm    {url}', mode='insert')
config.bind('<Alt-u>', 'spawn -- bwm -u {url}', mode='insert')
config.bind('<Alt-l>', 'spawn -- bwm -b {url}', mode='insert')
config.bind('<Alt-o>', 'spawn -- bwm -o {url}', mode='insert')