mirror of
https://github.com/LukeSmithxyz/voidrice.git
synced 2026-03-20 01:37:45 +01:00
Use built-in pass script
This commit is contained in:
parent
6f9a9f8cfc
commit
039f6147b6
@ -68,14 +68,10 @@ removePassword() { \
|
||||
|
||||
[ -z "$name" ] && exit
|
||||
|
||||
sure="$(printf "No\\nYes" | dmenu -i -sb "#ac3333" -sf "#111111" -nf "#dddddd" -nb "#111111" -p "Are you sure?")"
|
||||
if [ $sure = "Yes" ]
|
||||
then
|
||||
pass rm "$name" -f
|
||||
notify-send "❎ Password for $name removed!"
|
||||
else
|
||||
prompt "Are you sure?" &&
|
||||
pass rm "$name" -f &&
|
||||
notify-send "❎ Password for $name removed!" ||
|
||||
notify-send "Canceled"
|
||||
fi
|
||||
}
|
||||
|
||||
case "$(printf "View password\\nView TOTP\\nAdd password\\nAdd TOTP\\nRemove password" | dmenu -i -p "Passwords")" in
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user