#!/bin/bash # Access your KDE 4 klipper on the command line # usage: # ./clipboard # will output current contents of klipper # echo "foobar" | ./clipboard # will put "foobar" into your clipboard/klipper # check for stdin if ! tty -s && stdin=$(