From 9a80d87fc40488767d18ebbcaa1a18aba93dd8cf Mon Sep 17 00:00:00 2001
From: Kyle Gospodnetich <me@kylegospodneti.ch>
Date: Mon, 24 Jun 2024 13:19:16 -0700
Subject: [PATCH 1/2] chore: Override UserpaceHID in bluetooth input config

---
 Containerfile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Containerfile b/Containerfile
index 03df5dc1..f4a154e1 100644
--- a/Containerfile
+++ b/Containerfile
@@ -583,6 +583,7 @@ RUN /usr/libexec/containerbuild/build-initramfs && \
     sed -i 's@\[Desktop Entry\]@\[Desktop Entry\]\nNoDisplay=true@g' /usr/share/applications/fish.desktop && \
     sed -i 's@\[Desktop Entry\]@\[Desktop Entry\]\nNoDisplay=true@g' /usr/share/applications/nvtop.desktop && \
     sed -i 's@\[Desktop Entry\]@\[Desktop Entry\]\nNoDisplay=true@g' /usr/share/applications/btop.desktop && \
+    sed -i 's/#UserspaceHID.*/UserspaceHID=true/' /usr/etc/bluetooth/input.conf && \
     rm -f /usr/share/vulkan/icd.d/lvp_icd.*.json && \
     mkdir -p "/usr/etc/profile.d/" && \
     ln -s "/usr/share/ublue-os/firstboot/launcher/login-profile.sh" \

From cf8b8818dde18583dbb5e24b5ffcfb4998962213 Mon Sep 17 00:00:00 2001
From: Kyle Gospodnetich <me@kylegospodneti.ch>
Date: Mon, 24 Jun 2024 13:30:30 -0700
Subject: [PATCH 2/2] chore: Link to documentation in waydroid-launcher

---
 system_files/desktop/shared/usr/bin/waydroid-launcher | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/system_files/desktop/shared/usr/bin/waydroid-launcher b/system_files/desktop/shared/usr/bin/waydroid-launcher
index 73f12a6a..a5e1fc13 100755
--- a/system_files/desktop/shared/usr/bin/waydroid-launcher
+++ b/system_files/desktop/shared/usr/bin/waydroid-launcher
@@ -14,9 +14,9 @@ if [ "$(systemctl is-active waydroid-container.service)" == 'active' ]; then
 	pkexec /usr/libexec/waydroid-container-stop
 fi
 
-# Check if Waydroid is initialized, initialize if not
+# Check if Waydroid is initialized, send user to the docs
 if grep -qz 'not initialized' <<< $(/usr/bin/waydroid status); then
-	/usr/bin/ujust init-waydroid
+	xdg-open "https://universal-blue.discourse.group/docs?topic=32"
 fi
 
 launch_waydroid() {