From 55861a65b1552d32d37da9ebee36501c68071143 Mon Sep 17 00:00:00 2001 From: Navid Sassan Date: Tue, 17 Feb 2026 19:37:18 +0100 Subject: [PATCH] Update README for rbw-based rewrite --- README.md | 40 +++++++++++++++++++++++++--------------- 1 file changed, 25 insertions(+), 15 deletions(-) diff --git a/README.md b/README.md index 9eb8b29..c6142dc 100644 --- a/README.md +++ b/README.md @@ -1,30 +1,40 @@ -# Bitwarden Menu +# bw-menu + +A rofi/fzf frontend for Bitwarden via the `rbw` CLI. ## Installation + ```bash -# install dependencies -sudo dnf install -y python3 python3-pyperclip xclip rofi - -git clone --branch python https://git.navidsassan.ch/navid.sassan/bw-menu.git -git clone https://github.com/Linuxfabrik/lib.git +# dependencies +sudo dnf install -y rofi fzf wl-clipboard # or xclip instead of wl-clipboard +cargo install rbw +# install bw-menu +git clone https://git.navidsassan.ch/navid.sassan/bw-menu.git cd bw-menu -ln -s ../../lib src/lib -./src/main.py --help +uv sync ``` ## Usage + ```bash -# start bw serve -export BW_SESSION="$(bw unlock --raw)" && bw serve --hostname 127.0.0.1& -# get dropdown (takes a second) -./src/main.py select +# interactive selection (rofi) +bw-menu select + +# interactive selection (fzf) +bw-menu select --selector fzf + +# select and print to stdout instead of clipboard +bw-menu select --field username --print + +# list recent selections +bw-menu history list # get password of last selected entry -./src/main.py history get 0 password +bw-menu history get 0 --field password -# list 5 last selected entries -./src/main.py history list +# get username and print to stdout +bw-menu history get 0 --field username --print ```