Closed oneofthehorses closed 7 months ago
This is supported through commands. The following command (uses qrcode utility - must be installed) creates a new item with the QR code from currently selected text item (see README.md for details on how to add the command):
[Command]
Command="
copyq:
const result = execute('qrcode', '--factory=pil', null, input());
if (!result) {
popup('Failed to run qrcode');
abort();
}
if (result.exit_code != 0) {
popup('Failed to run qrcode', result.stderr);
abort();
}
write('image/png', result.stdout);"
Icon=\xf029
InMenu=true
Input=text/plain
Name=QR Code
qrcode utility installed but command failed to run, despite installed correctly
qrcode utility installed but command failed to run, despite installed correctly
CopyQ must be able to find the utility, i.e. it must be reachable from a directory listed in PATH
environment variable.
Hello!
It would be awesome to see function for fast generation of QR-codes from clipboard :) also QR reader to clipboard too*!
And (look into further) possibility to exchange public keys first, to establish secure communication channel (if works in public space, not home) so no man in the middle can catch real clipboard information
Thanks for your work!!