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
ight'> 2019-12-18Hide line numbers when rendering mdocJune McEnroe Hack: output an extra <td> after rendering mdoc so that line numbers can be hidden based on there being three. This required splitting source-filter and about-filter since on about pages there is no table. 2019-12-18Customize cgit CSSJune McEnroe 2019-12-18Use :target rather than :focus pseudo-classJune McEnroe :target persists after you click on something else. 2019-12-18Copy cgit auxiliary binaries properlyJune McEnroe 2019-12-18Add git.causal.agency cgit configJune McEnroe 2019-12-18Bail from hi if input is binaryJune McEnroe NULs in the input cause an infinite loop in htmlEscape, not to mention regexes obviously not working, etc. 2019-12-16Post "cgit setup"June McEnroe