termux-packages/packages/termux-api/termux-clipboard-set

5 lines
70 B
Bash
Executable File

#!/system/bin/sh
TEXT=`cat -`
termux-api Clipboard --es text "$TEXT"