mirror of
https://github.com/rwinkhart/sshyp.git
synced 2026-08-28 12:56:28 -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')
|
||||
copyline = open('/dev/shm/' + shmfolder + '/' + shmentry, 'r').readlines()
|
||||
pyperclip.copy(copyline[1].replace('\n', ''))
|
||||
print()
|
||||
rmtree('/dev/shm/' + shmfolder)
|
||||
|
||||
# gen
|
||||
|
||||
|
||||
Reference in New Issue
Block a user