CopyPlusPlus icon indicating copy to clipboard operation
CopyPlusPlus copied to clipboard

请求添加Linux版支持

Open bnp800 opened this issue 3 years ago • 5 comments

这么好的软件,在Windows上就已经大力安利给其他人用了。现在的日用系统换到Linux上来之后没有这个小工具一时间还真是不方便。

期望能加入LInux版支持

bnp800 avatar Jun 15 '22 04:06 bnp800

感谢您的支持!!!

Linux 版本在学习开发中啦!!

wy-luke avatar Jun 15 '22 04:06 wy-luke

+1

tcitr-chen avatar Jun 29 '22 05:06 tcitr-chen

我写了个简单的脚本凑合着用

import pyperclip
from time import sleep

def cat():
	s = pyperclip.paste().split('\n')
	if len(s) <= 1:
		return
	res = ''
	for i in s:
		i = i.strip()
		if len(i) == 0:
			continue
		if i[-1] == '-':
			res += i.rstrip('-')
		else:
			res += i + ' '
	pyperclip.copy(res)

while True:
	cat()
	sleep(0.3)

xuke-hat avatar Oct 13 '22 09:10 xuke-hat

我写了个简单的脚本凑合着用

import pyperclip
from time import sleep

def cat():
	s = pyperclip.paste()
	if len(s) <= 1:
		return
	res = ''
	for i in s.split():
		res += i.strip().rstrip('-') + ' '
	pyperclip.copy(res)

while True:
	cat()
	sleep(0.3)

好强,哈哈哈

wy-luke avatar Oct 13 '22 09:10 wy-luke

Life is short, you need Python.😂

tcitr-chen avatar Oct 13 '22 09:10 tcitr-chen