1 2 3 4 5 6
#!/bin/sh emacsclient -c -e '(anywhere-create)' "$@" xdotool windowactivate --sync $(xdotool getactivewindow) xdotool key --clearmodifiers ctrl+v