1
0
Fork 0

[bin] Sleep 200ms before typing anything in launcher-snippets

main
Sebastian Schulze 2022-07-06 20:19:41 +02:00
parent 6158cfc632
commit 67a15301f9
No known key found for this signature in database
GPG Key ID: F6BA63C6A7D3044E
1 changed files with 1 additions and 0 deletions

View File

@ -10,4 +10,5 @@ if [[ "$1" == "--preview" ]]; then
fi; fi;
SNIPPET=$(find $SNIPPET_DIR -type f -printf "%f\n"| fzf --preview-window="bottom" --preview="$0 --preview {}") SNIPPET=$(find $SNIPPET_DIR -type f -printf "%f\n"| fzf --preview-window="bottom" --preview="$0 --preview {}")
sleep 0.2
swaymsg exec -- "wtype - < ${SNIPPET_DIR}/${SNIPPET}" swaymsg exec -- "wtype - < ${SNIPPET_DIR}/${SNIPPET}"