summaryrefslogtreecommitdiff
path: root/qrread
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
commit9bcaaaf22708be4e2cb29c0e130444fed3253bbc (patch)
tree208f5daa21332b0ae23343a15dff6acba68dcecb /qrread
parent98bac79a5878faff965728ad668c65da8a3c56e1 (diff)
qrread script
Diffstat (limited to 'qrread')
-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"