From 1f3c2328c19c3db5e835acc1c43b30435baabe3c Mon Sep 17 00:00:00 2001 From: sommerfeld Date: Tue, 21 Apr 2026 01:24:39 +0100 Subject: fix(rqr): use --nodisplay to avoid X11 dependency on Wayland zbarcam defaults to opening an X11 preview window, which fails on Sway without XWayland ("unable to open X display"). --nodisplay runs the scanner headlessly; we don't need the preview since -1 exits on the first barcode anyway. --- dot_local/bin/executable_rqr | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'dot_local/bin/executable_rqr') diff --git a/dot_local/bin/executable_rqr b/dot_local/bin/executable_rqr index 335f55b..89cb8bf 100755 --- a/dot_local/bin/executable_rqr +++ b/dot_local/bin/executable_rqr @@ -1,6 +1,6 @@ #!/usr/bin/env sh -text="$(zbarcam -q -1 --raw)" +text="$(zbarcam --nodisplay -q -1 --raw)" printf '%s' "$text" | wl-copy echo "$text" -- cgit v1.2.3-70-g09d2