From 98a4f635e6bfe90ed83825837f13ec890d1919c2 Mon Sep 17 00:00:00 2001 From: thelamer Date: Sat, 20 Dec 2025 14:14:36 -0500 Subject: [PATCH] add wayland init --- README.md | 1 + readme-vars.yml | 1 + root/defaults/autostart_wayland | 9 +++++++++ root/defaults/menu_wayland.xml | 7 +++++++ 4 files changed, 18 insertions(+) create mode 100644 root/defaults/autostart_wayland create mode 100644 root/defaults/menu_wayland.xml diff --git a/README.md b/README.md index 784b195..f4f0dd3 100644 --- a/README.md +++ b/README.md @@ -566,5 +566,6 @@ Once registered you can define the dockerfile to use with `-f Dockerfile.aarch64 ## Versions +* **20.12.25:** - Add Wayland init logic. * **15.08.25:** - Rebase to Debian Trixie for updated Dolphin, update controller mapping. * **18.06.25:** - Initial Version. diff --git a/readme-vars.yml b/readme-vars.yml index 86baacb..83df5ac 100644 --- a/readme-vars.yml +++ b/readme-vars.yml @@ -107,5 +107,6 @@ init_diagram: | "dolphin:latest" <- Base Images # changelog changelogs: + - {date: "20.12.25:", desc: "Add Wayland init logic."} - {date: "15.08.25:", desc: "Rebase to Debian Trixie for updated Dolphin, update controller mapping."} - {date: "18.06.25:", desc: "Initial Version."} diff --git a/root/defaults/autostart_wayland b/root/defaults/autostart_wayland new file mode 100644 index 0000000..855f973 --- /dev/null +++ b/root/defaults/autostart_wayland @@ -0,0 +1,9 @@ +#!/bin/bash + +# Copy default controller config +if [ ! -f "${HOME}/.config/dolphin-emu/GCPadNew.ini" ]; then + mkdir -p "${HOME}/.config/dolphin-emu/" + cp /defaults/GCPadNew.ini "${HOME}/.config/dolphin-emu/" +fi + +foot -e /usr/games/dolphin-emu ${DOLPHIN_CLI} diff --git a/root/defaults/menu_wayland.xml b/root/defaults/menu_wayland.xml new file mode 100644 index 0000000..eadcbaa --- /dev/null +++ b/root/defaults/menu_wayland.xml @@ -0,0 +1,7 @@ + + + +/usr/bin/foot +sh -c "xterm -e /usr/games/dolphin-emu" + +