remove unused code

This commit is contained in:
Simon Rieger 2025-08-08 15:06:17 +02:00
parent b27e5cd124
commit fdfac1d612

View file

@ -81,19 +81,5 @@ if [[ -n "$selected" ]]; then
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?" "$(echo -e "Nein\nJa")")
if [[ "$choice" == "Ja" ]]; then
echo "Tippe Passwort in 5 Sekunden (Layout: DE)..."
{
echo "typedelay 100"
echo "type $cleaned_text"
} | DOTOOL_XKB_LAYOUT=de dotool && \
notify-send -t 5000 -u low "Eingabe abgeschlossen" "Inhalt wurde getippt"
fi
fi
fi fi
fi fi