New directory structure + basilisk

This commit is contained in:
2026-01-12 19:32:18 -07:00
parent 298eb76909
commit ff69bb8284
316 changed files with 2467 additions and 1375 deletions

15
root/bin/qutebrowser Executable file
View File

@@ -0,0 +1,15 @@
#!/bin/sh
# initial idea: Florian Bruhin (The-Compiler)
# author: Thore Bödecker (foxxx0)
_url="$1"
_qb_version='1.0.4'
_proto_version=1
_ipc_socket="${XDG_RUNTIME_DIR}/qutebrowser/ipc-$(echo -n "$USER" | md5sum | cut -d' ' -f1)"
_qute_bin="/opt/qutebrowser/.venv/bin/qutebrowser"
printf '{"args": ["%s"], "target_arg": "window", "version": "%s", "protocol_version": %d, "cwd": "%s"}\n' \
"${_url}" \
"${_qb_version}" \
"${_proto_version}" \
"${PWD}" | socat -lf /dev/null - UNIX-CONNECT:"${_ipc_socket}" || "$_qute_bin" "$@" &