Use urxvt-perls package to manage clipboard selection