#!/bin/sh set -e conf="__REPLACE__" cd "$conf" _file=$(find -L . \! -type d | dmenu "$@") xdotool type --delay 1ms --clearmodifiers --file "$conf/$_file"