dmenu-scripts/dmenu-keepassxc
2022-12-26 12:16:57 +01:00

10 lines
347 B
Bash
Executable File

#!/bin/sh
# Simple dmenu script to ask for keepassxc database password, and get the password of asked account
db=$(grep database ~/.config/dmenu-keepassxc/config | cut -d: -f 2)
kf=$(grep keyfile ~/.config/dmenu-keepassxc/config | cut -d: -f 2)
dmenu -P -p "Enter KeePassXC database password" | keepassxc-cli show -sa password -k $kf $db "$@"