config for fuzzel

This commit is contained in:
Simon Rieger 2023-05-04 13:55:56 +02:00
parent 645d46bb5d
commit 647850726d

View file

@ -2,6 +2,6 @@
# Use fuzzel to find a password from password-store and copy it to clipboard. # Use fuzzel to find a password from password-store and copy it to clipboard.
# inpired by: https://gist.github.com/igemnace/2b8609d280752e8a1b173204c14f6892 # inpired by: https://gist.github.com/igemnace/2b8609d280752e8a1b173204c14f6892
pass_name=$(cd $HOME/.password-store && rg --files | sed 's/\.gpg$//' | fuzzel -d -w 60 -D yes) pass_name=$(cd $HOME/.password-store && rg --files | sed 's/\.gpg$//' | fuzzel -d)
[[ $pass_name != "" ]] && pass show -c $pass_name [[ $pass_name != "" ]] && pass show -c $pass_name