add global option for notification
This commit is contained in:
parent
3ae7c83ca0
commit
a8b2792a89
10
rofi-pass
10
rofi-pass
@ -125,8 +125,18 @@ ${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 [[ $notify == "true" ]]; then
|
||||||
|
if [[ "${stuff[notify]}" == "false" ]]; then
|
||||||
|
:
|
||||||
|
else
|
||||||
|
notify-send "rofi-pass" "finished typing password"
|
||||||
|
fi
|
||||||
|
elif [[ $notify == "false" ]]; then
|
||||||
if [[ "${stuff[notify]}" == "true" ]]; then
|
if [[ "${stuff[notify]}" == "true" ]]; then
|
||||||
notify-send "rofi-pass" "finished typing password"
|
notify-send "rofi-pass" "finished typing password"
|
||||||
|
else
|
||||||
|
:
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
exit
|
exit
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user