Selects a region of your screen, reads any QR code found in it, and copies the result to your clipboard.
2026-07-01.12-49-26.mp4
Add the NUR channel if you haven't already:
nix-channel --add https://github.com/nix-community/NUR/archive/master.tar.gz nur
nix-channel --updateThen install:
# configuration.nix
environment.systemPackages = [
nur.repos.x71c9.qrx
];Or ad-hoc:
nix-env -f '<nixpkgs>' -iA nur.repos.x71c9.qrxBuild from source:
yay -S qrxOr prebuilt binary:
yay -S qrx-bincargo install qrxbrew install x71c9/x71c9/qrxDownload the latest release for your platform from the releases page.
| Platform | File |
|---|---|
| Linux x86_64 | qrx-x86_64-unknown-linux-musl.tar.gz |
| macOS Apple Silicon | qrx-aarch64-apple-darwin.tar.gz |
| macOS Intel | qrx-x86_64-apple-darwin.tar.gz |
qrx # crop screen region, copy to clipboard
qrx -p # crop screen region, print + copy to clipboard
qrx -pn # crop screen region, print only
qrx file.png # decode image file, copy to clipboard
qrx -p file.png # decode image file, print + copy to clipboard
qrx -pn file.png # decode image file, print only| Flag | Long | Description |
|---|---|---|
-p |
--print |
Print the decoded text to stdout |
-n |
--no-clipboard |
Do not copy to clipboard |
Flags can be combined separately (-p -n) or together (-pn / -np).
On Linux, the result is copied to both the system clipboard (Ctrl+V) and the primary selection (middle-click).
| Platform | Required |
|---|---|
| X11 | xclip |
| Wayland | slurp, grim, wl-copy |
| macOS | — |
MIT