2020-03-10 18:14:59 +01:00
|
|
|
#!/usr/bin/env zsh
|
|
|
|
|
2020-03-10 20:11:54 +01:00
|
|
|
rofi -dmenu -i -p "Enter your database password" -l 0 -password | read DBpass
|
2020-03-10 18:14:59 +01:00
|
|
|
|
|
|
|
echo $DBpass | keepassxc-cli ls ~/Passwords/keepass.kdbx | grep -v 'Enter' | rofi -dmenu -i -p "Entry list" -l 30 | read entry
|
|
|
|
|
|
|
|
echo $DBpass | keepassxc-cli clip ~/Passwords/keepass.kdbx $entry
|