summaryrefslogtreecommitdiff
path: root/.local/bin/desktop/zbarscreen
diff options
context:
space:
mode:
Diffstat (limited to '.local/bin/desktop/zbarscreen')
-rwxr-xr-x.local/bin/desktop/zbarscreen3
1 files changed, 3 insertions, 0 deletions
diff --git a/.local/bin/desktop/zbarscreen b/.local/bin/desktop/zbarscreen
new file mode 100755
index 0000000..e325ce5
--- /dev/null
+++ b/.local/bin/desktop/zbarscreen
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+ import -silent -window root bmp:- | zbarimg - | sed -e 's/QR-Code://' | xclip -selection clipboard