summary refs log tree commit diff
path: root/home/.local/bin/pbpaste
blob: 2924f01edf006ba260e31662d27cb48bec2d0865 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/sh
set -eu

if [ -n "${SSH_CLIENT:-}" ]; then
	exec pbd -p
elif [ -n "${DISPLAY:-}" ]; then
	exec xsel -bo
else
	echo "${0}: don't know what to do" >&2
	exit 1
fi
low=1'>Link with -lcursesJune McEnroe 2018-07-22Fix scheme indentationJune McEnroe 2018-07-16Add -m option to glitchJune McEnroe 2018-07-16malloc deflate buffer in glitchJune McEnroe 2018-07-16malloc the deflate buffer in pngoJune McEnroe 2018-07-05Add shed bloodJune McEnroe