31 lines
613 B
Markdown
31 lines
613 B
Markdown
# Bitwarden Menu
|
|
|
|
|
|
## 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
|
|
|
|
cd bw-menu
|
|
ln -s ../../lib src/lib
|
|
./src/main.py --help
|
|
```
|
|
|
|
|
|
## 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
|
|
|
|
# get password of last selected entry
|
|
./src/main.py history get 0 password
|
|
|
|
# list 5 last selected entries
|
|
./src/main.py history list
|
|
```
|