From 28e8bdf7f8286bd431b7f3b709e79f3827b31469 Mon Sep 17 00:00:00 2001 From: TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> Date: Wed, 24 Dec 2025 13:54:03 +0900 Subject: updates --- debian/.config/qutebrowser/userscripts/qr | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100755 debian/.config/qutebrowser/userscripts/qr (limited to 'debian/.config/qutebrowser/userscripts/qr') diff --git a/debian/.config/qutebrowser/userscripts/qr b/debian/.config/qutebrowser/userscripts/qr new file mode 100755 index 0000000..8421524 --- /dev/null +++ b/debian/.config/qutebrowser/userscripts/qr @@ -0,0 +1,8 @@ +#!/usr/bin/env bash + +pngfile=$(mktemp --suffix=.png) +trap 'rm -f "$pngfile"' EXIT + +qrencode -t PNG -o "$pngfile" -s 10 "$QUTE_URL" +echo ":open -t file:///$pngfile" >> "$QUTE_FIFO" +sleep 1 # give qutebrowser time to open the file before it gets removed -- cgit v1.2.3