mirror of
https://github.com/rwinkhart/sshyp.git
synced 2026-09-03 15:47:18 -04:00
initial clipboard support
This commit is contained in:
+1
-1
@@ -530,7 +530,7 @@ if argument == 'copy':
|
|||||||
term('gpg -d --output /dev/shm/' + shmfolder + '/' + shmentry + ' ' + directory + readentry + '.gpg')
|
term('gpg -d --output /dev/shm/' + shmfolder + '/' + shmentry + ' ' + directory + readentry + '.gpg')
|
||||||
copyline = open('/dev/shm/' + shmfolder + '/' + shmentry, 'r').readlines()
|
copyline = open('/dev/shm/' + shmfolder + '/' + shmentry, 'r').readlines()
|
||||||
pyperclip.copy(copyline[1].replace('\n', ''))
|
pyperclip.copy(copyline[1].replace('\n', ''))
|
||||||
print()
|
rmtree('/dev/shm/' + shmfolder)
|
||||||
|
|
||||||
# gen
|
# gen
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user