add newline support
This commit is contained in:
parent
e3070e6c40
commit
9eb2ad26a4
1 changed files with 6 additions and 4 deletions
|
@ -1,9 +1,11 @@
|
|||
#!/bin/bash
|
||||
|
||||
sleep 1
|
||||
|
||||
{
|
||||
echo "typedelay 100"
|
||||
echo "type $(wl-paste)"
|
||||
} | DOTOOL_XKB_LAYOUT=de dotool && \
|
||||
notify-send -t 5000 -u low "Eingabe abgeschlossen" "Inhalt wurde getippt"
|
||||
# Jede Zeile aus der Zwischenablage tippen und mit Return abschließen
|
||||
wl-paste | while IFS= read -r line; do
|
||||
echo "type $line"
|
||||
echo "key enter"
|
||||
done
|
||||
} | DOTOOL_XKB_LAYOUT=de dotool && notify-send -t 5000 -u low "Eingabe abgeschlossen" "Inhalt wurde getippt"
|
||||
|
|
Loading…
Add table
Reference in a new issue