add support for custom notification on password typing

This commit is contained in:
Rasmus Steinke 2015-11-09 00:16:10 +01:00
parent 8eef49fd4f
commit a21e1b9fb3

View File

@ -125,6 +125,9 @@ ${line3}</span>"
elif [[ $rofi_exit -eq 12 ]]; then elif [[ $rofi_exit -eq 12 ]]; then
checkIfPass checkIfPass
echo -n "${password}" | xdotool type --clearmodifiers --file - echo -n "${password}" | xdotool type --clearmodifiers --file -
if [[ "${stuff[notify]}" == "true" ]]; then
notify-send "rofi-pass" "finished typing password"
fi
exit exit
elif [[ $rofi_exit -eq 14 ]]; then elif [[ $rofi_exit -eq 14 ]]; then