I have to paste my email often during the day, and typing it is time consuming. That is why I am searching for a way to do this with a button press. The following command works to place my mail on my clipboard when used in bash:
echo "email@example.com" | xclip -sel clip
Any Idea how to make this work?
P.S. I also tried 'xdotool' by setting a keyboard shortcut to:
xdotool type 'l' 'o' 'r' 'e' 'm' '@' 'i' 'p' 's' 'u' 'm' '.' 'c' 'o' 'm'
And some variations of that but all of them are too laggy and only start printing halfway through the string.