Package: rofi-rbw
rbw-rofiA rofi frontend for BitwardenBased on the alternativeBitwardenCLIrbwand inspired byrofi-pass,rbw-rofiis a simplistic password typer/copier usingrofiandwofi.FeaturesAutotype password or username (Enter/Alt+3andAlt+2, respectively)Autotype username and password (with atabcharacter in between) withAlt+1(and copy TOTP to clipboard)Copy username, password or TOTP to the clipboard (Alt+u,Alt+pandAlt+t, respectively)Show an autotype menu with all fieldsUsageFirst, you need to configurerbw. See its documentation for that.
Then, you can startrofi-rbw. It isnotavailable as a rofi mode.ConfigurationYou can configurerofi-rbweither 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.Optionslong optionshort optionpossible valuesdescription--action-atype(default),copy,printChoose whatrofi-rbwshould do.--target-tusername,password,notes,totp(or any custom field)Choose which components of the selected entry are interesting. Can be passed multiple times to type/copy/print several components. Default isusernameandpassword.--prompt-rany stringDefine the text of the prompt.--keybindingsDefine custom keybindings in the format<shortcut>:<action>:<target>, for exampleAlt+x:copy:username. Multiple keybindings can be concatenated with,; multiple targets for one shortcut can be concatenated with:. Note thatwofidoesn't support keybindings.--menu-keybindingsDefine custom keybindings for the target menu in the format<shortcut>:<action>, similar to--keybindings. Note thatwofidoesn't support keybindings.--no-cacheDisable the automatic frecency cache. It contains sha1-hashes of the selected entries and how often they were used.--clear-afterinteger number >= 0 (default is0)Limit the duration in seconds passwords stay in your clipboard (unless overwritten). When set to 0, passwords will be kept indefinitely.--no-helpDon't show the help message about the available shortcuts.--no-folderDon't show the entry's folder in the list.--selector-argsDefine arguments that will be passed through torofiorwofi.Please note that you need to specify it as--selector-args="<args>"or--selector-args " <args>"because of abug in argparse--selectorrofi,wofiShow the selection dialog with this application. Chosen automatically by default.--clipboarderxsel,xclip,wl-copyAccess the clipboard with this application. Chosen automatically by default.--typerxdotool,wtype,ydotool,dotoolType the characters using this application. Chosen automatically by default.InstallationFrom distribution repositoriesFrom PyPIrofi-rbwis onPyPI. You can install it withpip install --user rofi-rbw(orsudo pip install rofi-rbw).ManuallyDownload the wheel file from releases and install it withsudo pip install $filename(or you can usepip install --user $filenameto only install it for the local user).
Note that it needsconfigargparseto work.DependenciesYou also need:Python 3.7 or higherrofiorwofiSomething to programmatically type characters into other applications. Depending on your display server, it'sxdotool,wtype,ydotoolordotool.Something to copy text to the clipboard. Again, depending on the display server, you wantxclip,xselorwl-copy.