add dotool to fuzzel-rbw script
This commit is contained in:
parent
0682ea7d25
commit
c046c4ee97
1 changed files with 13 additions and 0 deletions
|
@ -57,5 +57,18 @@ if [[ -n "$selected" ]]; then
|
||||||
cleaned_text=$(clean_text "$selected_detail")
|
cleaned_text=$(clean_text "$selected_detail")
|
||||||
copy_to_clipboard "$cleaned_text"
|
copy_to_clipboard "$cleaned_text"
|
||||||
echo "In Zwischenablage kopiert: ${cleaned_text:0:20}..."
|
echo "In Zwischenablage kopiert: ${cleaned_text:0:20}..."
|
||||||
|
|
||||||
|
# Passwortverarbeitung
|
||||||
|
if [[ "$OSTYPE" != "darwin"* ]]; then
|
||||||
|
choice=$(select_item "Passwort mit dotool eingeben? (5s Verzögerung)" "$(echo -e "Ja\nNein")")
|
||||||
|
|
||||||
|
if [[ "$choice" == "Ja" ]]; then
|
||||||
|
echo "Tippe Passwort in 5 Sekunden (Layout: DE)..."
|
||||||
|
sleep 5 && {
|
||||||
|
echo "typedelay 100"
|
||||||
|
echo "type $cleaned_text"
|
||||||
|
} | DOTOOL_XKB_LAYOUT=de dotool && notify-send "Passwort eingetippt"
|
||||||
|
fi
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Add table
Reference in a new issue