rofi-rbw

fdwMIT活跃维护

用 Rofi 菜单快速检索 Bitwarden 密码库,选中后自动复制密码或 TOTP 验证码,省去打开浏览器插件的步骤。

Rofi frontend for Bitwarden

1.7.0发布于 2026-08-01 07:16 UTC306star40fork同步于 2026-11-10 18:02 UTC

怎么上手

由 README 提炼,执行前请确认
pip install --user rofi-rbw
硬件要求按 README 说明

README 未说明;需图形显示服务器,按 X11/Wayland 选择 xdotool、wtype、ydotool 或 dotool 及对应剪贴板工具

下载:源码 zip·GitHub Releases(安装包)本站不镜像安装包

项目说明

由 README 自动翻译提炼

基于 rbw 的 Bitwarden 密码选择器,用 rofi 等菜单快速输入或复制凭据

用 Rofi 菜单快速检索 Bitwarden 密码库,选中后自动复制密码或 TOTP 验证码,省去打开浏览器插件的步骤。

核心能力

  • 用 rofi/wofi/fuzzel/bemenu 弹出条目选择菜单
  • 按快捷键自动输入用户名、密码或复制 TOTP 到剪贴板
  • 支持自定义快捷键序列,含 enter 与 delay 步骤
  • 可在凭据中写 _autotype 字段定义自动输入流程
  • 按 frecency 缓存常用条目,可关闭

容易踩的坑

需先自行配置好 rbw 1.14 或更高版本;它不是 rofi 模式,需直接运行 rofi-rbw;需另装选择器、输入工具和剪贴板工具,wofi 不支持快捷键

内容由模型根据 README 生成,可能不完整或不准确,以官方文档为准。看原文 README

最近发版

5 个版本1.7.0
  1. 1.7.0最新正式版2026-08-01 · 2026-08-01 07:16 UTC

    Changed

    • Fields shown in the overview can now be changed with --display-fields, deprecating --no-folder. (#135)
    • wl-copy sets the sensitive flag for passwords. (#93)

    Fixed

    • Clipboard is actually cleared. (#138)

    Added

    • fuzzel can be customized with key bindings. (#130)
    • Support a delay between copying actions. (#137)
    • Make delay duration configurable.

    Contributors

    • @acmiyaguchi
    • @AdrianVollmer
    • @sudo-Tiz
    • @rootatoskr
    • @gardouille

    Thank you!

  2. 1.6.11.6.1: Important bugfixes2026-03-07 · 2026-03-07 13:08 UTC
    查看更新说明

    This release fixes two important bugs:

    • Detecting Wayland and X correctly
    • Selecting entries without folders or usernames

    Thank you

    @crater2150, @CupricReki and @NVBPF helped identify and solve these bugs. Thanks 🙏

  3. 1.6.01.6.0: Internal Improvements2026-02-01 · 2026-02-01 10:46 UTC
    查看更新说明

    Only one major feature: Notes are officially supported and don't only work by accident.

    Other changes:

    • Support for Python 3.9 is dropped
    • Password starting with - can be typed
    • There can be a delay before typing
    • The first contributed script to search for the credentials based on the open browser window's domain
    • Several internal improvements to the interaction with rbw

    Thank you

    @Joris29, @BarbUk and @nim65s contributed to this release. Thank you very much😊

  4. 1.5.11.5.1: Fix release process2025-05-11 · 2025-05-11 07:23 UTC
    查看更新说明

    Unfortunately, the new automatic build process with uv was broken, resulting in useless wheel files.

    Thanks to @odrling for noticing and fixing this! 🙏

  5. 1.5.01.5.0: It's time2025-05-10 · 2025-05-10 11:30 UTC
    查看更新说明

    Changed

    • Fields are shown in plain text or hidden based on their type. (#17)
    • Stopped support for Python 3.8.

    Added

    • Show a notification after copying TOTP. (#101)
    • Support for fuzzel. (#109)
    • Support cards.

    Thanks to @merdely, @MaximumWoahverdrive, @whitelynx 🙏

用户点评

登录用户的真实使用记录,可按版本和硬件筛选
共 0 条

    还没有人点评。第一个说出真实体验的人最有价值。

    README 原文

    未翻译

    rbw-rofi

    A rofi (and dmenu-like) frontend for Bitwarden

    Based on the alternative Bitwarden CLI rbw and inspired by rofi-pass, rbw-rofi is a simplistic password typer/copier using rofi, wofi, fuzzel, and bemenu.

    Screenshot of rofi-rbw Screenshot of a rofi-rbw entry menu

    Features

    • Autotype password or username (Enter/Alt+3 and Alt+2, respectively)
    • Autotype username and password (with a tab character in between) with Alt+1 (and copy TOTP to clipboard)
    • Configure autotyping either as a keybinding or by having a _autotype field in your credential
    • Copy username, password or TOTP to the clipboard (Alt+u, Alt+p and Alt+t, respectively)
    • Show an autotype menu with all fields

    Usage

    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.

    Configuration

    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. Please check the man page for details.

    Options

    long optionshort optionpossible valuesdescription
    --action-atype (default), copy, printChoose what rofi-rbw should 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 is username and password.
    --prompt-rany stringDefine the text of the prompt.
    --keybindingsDefine custom keybindings in the format <shortcut>:<action>:<target>, for example Alt+x:copy:username. Multiple keybindings can be concatenated with ,; multiple targets for one shortcut can be concatenated with :. Note that wofi doesn't support keybindings.
    --menu-keybindingsDefine custom keybindings for the target menu in the format <shortcut>:<action>, similar to --keybindings. Note that wofi doesn'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 is 0)Limit the duration in seconds passwords stay in your clipboard (unless overwritten). When set to 0, passwords will be kept indefinitely.
    --typing-start-delaydelay in milliseconds (default is 0)Set a delay before the typing starts.
    --typing-key-delaydelay in milliseconds (default is 0)Set a delay between key presses when typing.
    --action-sequence-delaydelay in milliseconds (default is 1000)Duration to wait when a delay step is encountered in a keybinding sequence (e.g. Alt+c:copy:username:delay:password), for both type and copy actions.
    --no-helpDon't show the help message about the available shortcuts.
    --display-fieldsname_only, name_with_folder, folder, user, uriOrdered list of fields to show in the overview, given as separate arguments (e.g. --display-fields name_only user). Defaults to name_with_folder user.
    --selector-argsDefine arguments that will be passed through to rofi, wofi, fuzzel or bemenu.Please note that you need to specify it as --selector-args="<args>" or --selector-args " <args>" because of a bug in argparse
    --selectorrofi, wofi, fuzzel, bemenuShow 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.
    --use-notify-sendSend a desktop notification after each field is copied (e.g. "username copied to clipboard").

    Autotyping

    By default, Alt+1 will type username and password, separated with a tab character. However, you can change this behavior by defining your own keybinding (if your selector supports this). For example, Alt+1:type:username:enter:delay:password:enter will type the username, enter, wait for a second and then type the password and enter again.

    This sequence can also be defined as a field _autotype on each credential.

    Installation

    From distribution repositories

    Packaging status

    From PyPI

    rofi-rbw is on PyPI. You can install it with pip install --user rofi-rbw (or sudo pip install rofi-rbw).

    Manually

    Download the wheel file from releases and install it with pipx install $filename. Note that it needs configargparse to work.

    Dependencies

    You also need:

    • Python 3.9 or higher
    • rofi, wofi, fuzzel or bemenu
    • rbw 1.14 or higher
    • Something to programmatically type characters into other applications. Depending on your display server, it's xdotool, wtype, ydotool or dotool.
    • Something to copy text to the clipboard. Again, depending on the display server, you want xclip, xsel or wl-copy.
    • Optionally libnotify to provide notify-send needed for --use-notify-send