10 lines
347 B
Plaintext
10 lines
347 B
Plaintext
|
#!/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 "$@"
|