Skip to content
This repository was archived by the owner on May 1, 2025. It is now read-only.

Commit cbae1ee

Browse files
committed
closes #53
Show notification after autotyping - but only if password was autotyped and notifications are enabled.
1 parent 36e96be commit cbae1ee

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tessen

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -385,6 +385,9 @@ auto_type_def() {
385385

386386
auto_type() {
387387
printf "%s" "$1" | wtype -s "$_TSN_DELAY" -
388+
if [[ "$1" == "$_TSN_PASSWORD" && $_TSN_NOTIFY == true ]] && is_installed notify-send; then
389+
notify-send -t 5000 "tessen" "finished typing password"
390+
fi
388391
}
389392

390393
wld_copy() {

0 commit comments

Comments
 (0)