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" + +