1
0
Fork 0

Introduce a custom vis-clipboard script

main
urosm 2024-09-29 13:34:46 +02:00
parent a5098e0885
commit 466ff6507c
1 changed files with 7 additions and 0 deletions

View File

@ -0,0 +1,7 @@
#!/bin/sh
case "$1" in
--copy) wl-copy -t TEXT 2>/dev/null;;
--paste) wl-paste --no-newline -t TEXT;;
*) printf "%s [--copy|--paste]\n" "$(basename "$0")" ;;
esac