dotfiles/common/users/homeModules/scripts/paste.sh
2024-11-26 17:01:58 -05:00

8 lines
No EOL
160 B
Bash

command -v xsel > /dev/null
if [[ $? -eq 0 ]]; then
xsel -ob && exit 0
fi
command -v wslclip > /dev/null
if [[ $? -eq 0 ]]; then
wslclip -g && exit 0
fi