Add qrclip convenience script

This commit is contained in:
2022-03-10 16:32:40 +00:00
parent 808d352c49
commit 6eff89f48a
3 changed files with 9 additions and 3 deletions
+5
View File
@@ -0,0 +1,5 @@
{ pkgs }:
pkgs.writeShellScriptBin "qrclip" ''
set -eo pipefail
${pkgs.pngpaste}/bin/pngpaste - | ${pkgs.zbar}/bin/zbarimg --raw -q1 -
''