removed result from elisp code, added rofi-pass utility

This commit is contained in:
Phuntsok Drak-pa committed 2019-11-03 12:44:04 +01:00
1 parent f1d40e2b1c
commit 58699da8ff
2 files changed
+62 -5

No files matched your search

+15
View File
@@ -0,0 +1,15 @@
#!/usr/bin/env fish
set passwords (find $HOME/.password-store -type f -name "*.gpg" | \
string replace -r ".*.password-store/" "" | \
string replace -r ".gpg" "" | sort)
set password (for elem in $passwords
echo $elem
end | rofi -dmenu -i -p "Select your password")
if test -z $password
exit
end
pass show -c $password 2> /dev/null