summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortsxv478 <atvx717@infraredcombat.xyz>2025-02-07 10:12:55 +0300
committertsxv478 <atvx717@infraredcombat.xyz>2025-02-07 10:12:55 +0300
commitc35e79714034d6c21939b573d13d34d7398b392b (patch)
tree208f5daa21332b0ae23343a15dff6acba68dcecb
parente615c0daad00a618d96ff18e9fd6578c117c0665 (diff)
qrread script
-rwxr-xr-xqrread3
1 files changed, 3 insertions, 0 deletions
diff --git a/qrread b/qrread
new file mode 100755
index 0000000..ef0c394
--- /dev/null
+++ b/qrread
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+maim -u -s /tmp/qr.png && zbarimg -S test-inverted -q --raw /tmp/qr.png | tr -d '\n' | xclip -selection clipboard && notify-send "QR Code" "Contents copied to clipboard"