about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--pkgs/profpatsch/read-qr-code.nix17
1 files changed, 7 insertions, 10 deletions
diff --git a/pkgs/profpatsch/read-qr-code.nix b/pkgs/profpatsch/read-qr-code.nix
index bc4684c1..6448929e 100644
--- a/pkgs/profpatsch/read-qr-code.nix
+++ b/pkgs/profpatsch/read-qr-code.nix
@@ -6,17 +6,14 @@ let
       // getBins libnotify [ "notify-send" ];
 
   script = writeExecline "read-qr-code" {} [
-    "backtick" "-iE" "qrcontent" [
-      "pipeline" [
-        bins.import "png:-"
-      ]
-      bins.zbarimg
-        "-Sdisable"
-        "-Sqrcode.enable"
-        "--raw"
-        "-"
+    "pipeline" [
+      bins.import "png:-"
     ]
-    bins.notify-send "$qrcontent"
+    bins.zbarimg
+      "-Sdisable"
+      "-Sqrcode.enable"
+      "--raw"
+      "-"
   ];
 
 in script // {