1
0
Fork 0

qute: pass filler

This commit is contained in:
Vladimír Dudr 2025-01-02 09:02:22 +01:00
parent 2ac56e6c8f
commit 21cb9521c2

View file

@ -4,7 +4,7 @@ set -x
log() { log() {
# echo "$@" >&2 # echo "$@" >&2
notify-send -t 1000 "Gopass form filler" "$*" notify-send "Gopass form filler" "$*"
} }
qute-command() { qute-command() {
@ -30,7 +30,7 @@ then
secret="$(printf "%s\n" "${secrets[@]}" | rofi -dmenu)" secret="$(printf "%s\n" "${secrets[@]}" | rofi -dmenu)"
elif (( ${#secrets[@]} < 1 )) elif (( ${#secrets[@]} < 1 ))
then then
log "No secret found!" log "No secret found for domain $domain !"
exit 0 exit 0
else else
secret="${secrets[0]}" secret="${secrets[0]}"