#!/usr/bin/env sh
if [ "$XDG_SESSION_TYPE" == "wayland" ]; then
	wl-paste -n
else
	xsel --clipboard --output
fi
