Setting up xmodmap + xcape
Script to make sure a program only runs if it's not already running