aboutsummaryrefslogtreecommitdiff
path: root/private_dot_local/bin/executable_clipboard.sh
blob: 4c426b6546834a4faef4dd959ce31d9bd1e5bb4d (plain)
1
2
3
4
5
6
7
#!/bin/sh

if [ "${XDG_SESSION_TYPE}" = "wayland" ]; then
	cat | wl-copy
else
	cat | xsel -ib
fi