Add notification support for Ubuntu

Moved is_ssh() function to the top. is_focused() will use is_ssh() to decide if it should call xdpyinfo