Based on the alternative Bitwarden CLI rbw and inspired by rofi-pass, rbw-rofi
is a simplistic password typer/copier using rofi and wofi.
- Autotype password or username (
Enter
/Alt+3
andAlt+2
, respectively) - Autotype username and password (with a
tab
character in between) withAlt+1
(and copy TOTP to clipboard) - Copy username, password or TOTP to the clipboard (
Alt+u
,Alt+p
andAlt+t
, respectively) - Show an autotype menu with all fields
First, you need to configure rbw
. See its documentation for that.
Then, you can start rofi-rbw
. It is not available as a rofi mode.
You can configure rofi-rbw
either with cli arguments or with a config file called $XDG_CONFIG_HOME/rofi-rbw.rc
. In the file, use the long option names without double dashes.
long option | short option | possible values | description |
---|---|---|---|
--action |
-a |
type-password (default), type-username , autotype , copy-username , copy-password , copy-totp , menu |
Chose what rofi-rbw should do. |
--prompt |
-r |
any string | Define the prompt text for rofimoji . |
--show-help |
true (default), false |
Show a help message with the available shortcuts. | |
--selector-args |
Define arguments that will be passed through to rofi or wofi .Please note that you need to specify it as --selector-args="<args>" or --selector-args " <args>" because of a bug in argparse |
||
--selector |
rofi , wofi |
Show the selection dialog with this application. | |
--clipboarder |
xsel , xclip , wl-copy |
Access the clipboard with this application. | |
--typer |
xdotool , wtype |
Type the characters using this application. | |
--no-help |
By default, rofi-rbw shows a list of possible keybindings. If it annoys you, you can deactivate it with this parameter. |
rofi-rbw
is on PyPI. You can install it with pip install --user rofi-rbw
(or sudo pip install rofi-rbw
).
Download the wheel file from releases and install it with sudo pip install $filename
(or you can use pip install --user $filename
to only install it for the local user).
Note that it needs configargparse
to work.
You also need:
- Python 3.7 or higher
rofi
orwofi
- Something to programmatically type characters into other applications. Depending on your display server, it's
xdotool
orwtype
. - Something to copy text to the clipboard. Again, depending on the display server, you want
xclip
,xsel
orwl-copy
.