aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRasmus Steinke <rasi@xssn.at>2015-11-09 00:16:10 +0100
committerRasmus Steinke <rasi@xssn.at>2015-11-09 00:16:10 +0100
commita21e1b9fb3c5b63d8342593dc4939c2f67d90fcc (patch)
treec2e183ab31e366f7012ec72ff10854084e6b7288
parent8eef49fd4f7731a32466616e7f816c2915b6a534 (diff)
downloadrofi-pass-a21e1b9fb3c5b63d8342593dc4939c2f67d90fcc.tar.gz
add support for custom notification on password typing
-rwxr-xr-xrofi-pass3
1 files changed, 3 insertions, 0 deletions
diff --git a/rofi-pass b/rofi-pass
index 2dcd45e..36e2a9b 100755
--- a/rofi-pass
+++ b/rofi-pass
@@ -125,6 +125,9 @@ ${line3}</span>"
elif [[ $rofi_exit -eq 12 ]]; then
checkIfPass
echo -n "${password}" | xdotool type --clearmodifiers --file -
+ if [[ "${stuff[notify]}" == "true" ]]; then
+ notify-send "rofi-pass" "finished typing password"
+ fi
exit
elif [[ $rofi_exit -eq 14 ]]; then