Replaced unnecessary "current" script with a single line of bash

I replaced the "current" script with a single line of bash in the
script "recognize":

process=$(ps -p `xdotool getwindowfocus getwindowpid` -o comm= |tr -d '\n')

which does exactly the same thing as the original script, but more simply (and without writing to and reading from an external file). Unless there is a particular reason to accomplish this task the way it was done originally. 

I've also added *.swp to .gitignore, to exclude Vim swap files.