mirror of
https://github.com/LukeSmithxyz/voidrice.git
synced 2026-03-20 01:37:45 +01:00
Don't show OTP results in passwords
This commit is contained in:
parent
1d7c82ce89
commit
ffdc3ceb57
@ -10,7 +10,7 @@ passwordList() { \
|
|||||||
}
|
}
|
||||||
|
|
||||||
getPasswords() { \
|
getPasswords() { \
|
||||||
choice="$(printf '%s\n' "${password_files[@]}" | dmenu -i -p "Passwords")"
|
choice="$(printf '%s\n' "${password_files[@]}" | grep -v "totp" | dmenu -i -p "Passwords")"
|
||||||
|
|
||||||
if [ ! -z "$choice" ]
|
if [ ! -z "$choice" ]
|
||||||
then
|
then
|
||||||
@ -63,7 +63,6 @@ addPassword() { \
|
|||||||
esac
|
esac
|
||||||
|
|
||||||
[ -z $addPass ] && exit
|
[ -z $addPass ] && exit
|
||||||
echo $addPass | grep "^$" && exit
|
|
||||||
|
|
||||||
echo $addPass | pass insert "$name" -e
|
echo $addPass | pass insert "$name" -e
|
||||||
notify-send "🔒 Password for $name added!"
|
notify-send "🔒 Password for $name added!"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user