This commit is contained in:
2025-10-26 03:37:58 +00:00
parent 6fd661f286
commit 7023046b63

View File

@@ -6,7 +6,7 @@ pws="$(find -path "*/.*" -prune -o -path "*/cred/*" -name "*.gpg" -printf '%P\n'
pw="$(echo "$pws" | ~/.local/bin/menu/vertical.sh -p "pass")" pw="$(echo "$pws" | ~/.local/bin/menu/vertical.sh -p "pass")"
case "$2" in case "$2" in
info) exec alacritty msg create-window --class="term_float" --working-directory="$HOME" --command "pass $pw | vim -";; info) ~/.local/bin/menu/run-float-sh.sh sh -c "pass $pw | vim -";;
otp) pass otp -c "$pw" && notify-send "$pw" -a pass "OTP copied to clipboard, clears in 45s";; otp) pass otp -c "$pw" && notify-send "$pw" -a pass "OTP copied to clipboard, clears in 45s";;
*) pass -c "$pw" && notify-send "$pw" -a pass "Password copied to clipboard, clears in 45s";; *) pass -c "$pw" && notify-send "$pw" -a pass "Password copied to clipboard, clears in 45s";;
esac esac