All pastes #557926 Raw Edit

Anonymous

public text v1 · immutable
·published 2007-06-11 05:11 UTC
rendered paste body
function klip()

{

        if [[ $# -eq 0 ]]; then

                dcop klipper klipper setClipboardContents "$(cat)"

        else

                dcop klipper klipper setClipboardContents "$*"

        fi

}