Comments (3)
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
from copyq.
qrcode utility installed but command failed to run, despite installed correctly
from copyq.
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.
from copyq.
Related Issues (20)
- Encryption not working in copyq: Error: "gpg: agent_genkey failed" HOT 1
- original window gets unfocused when copyq is open HOT 1
- Visual indicators for tabs
- Runtime end of life (EOL) HOT 1
- No tray presence, or output shown on Windows 11, CLI or graphic UI start HOT 3
- How to make the same items not merge automatically after duplication?
- Copyq Hyprland scaling and copy/pasting issues HOT 2
- Clearing clipboard after timeout HOT 1
- Wayland issues on Hyprland with ydotool HOT 7
- How to blacklist file Gtk3 FileOpen dialog HOT 1
- Automatically starting the server HOT 1
- [Feature] Emoji picker + symbols tab
- Hide title bar
- Problem after trying to upgrade copyq on Ubuntu 22.04: requires libqt5waylandclient5 >= 5.14.4 but have 5.15.3-1 and can't get higher HOT 2
- Can someone help me?
- Version 9.0.0 Crash on launch on MacOS HOT 5
- copyq only shows only the reload symbol on start HOT 3
- Main window closes right after opening HOT 2
- Paste in pycharm is unreliable [linux][Focus issue] HOT 2
- v9 and RDP: Remote machine does not see copied items from local machine
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from copyq.