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

if [ -n "${SSH_CLIENT:-}" ]; then
	exec pbd -c
elif [ -n "${DISPLAY:-}" ]; then
	exec xsel -bi
else
	echo "${0}: don't know what to do" >&2
	exit 1
fi
nethackrcJune McEnroe 2017-07-23Remove useless setuid in briJune McEnroe 2017-07-23Clean up hnel a tiny bitJune McEnroe 2017-07-21Set window size in hnelJune McEnroe 2017-07-21Add hnelJune McEnroe 2017-07-19chmod 600 in dtchJune McEnroe