Skip to content

Commit 023dcb5

Browse files
authored
Merge pull request #4 from linuxserver/wayland
add wayland init
2 parents dce30ef + 98a4f63 commit 023dcb5

4 files changed

Lines changed: 18 additions & 0 deletions

File tree

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -566,5 +566,6 @@ Once registered you can define the dockerfile to use with `-f Dockerfile.aarch64
566566

567567
## Versions
568568

569+
* **20.12.25:** - Add Wayland init logic.
569570
* **15.08.25:** - Rebase to Debian Trixie for updated Dolphin, update controller mapping.
570571
* **18.06.25:** - Initial Version.

readme-vars.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,5 +107,6 @@ init_diagram: |
107107
"dolphin:latest" <- Base Images
108108
# changelog
109109
changelogs:
110+
- {date: "20.12.25:", desc: "Add Wayland init logic."}
110111
- {date: "15.08.25:", desc: "Rebase to Debian Trixie for updated Dolphin, update controller mapping."}
111112
- {date: "18.06.25:", desc: "Initial Version."}

root/defaults/autostart_wayland

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
#!/bin/bash
2+
3+
# Copy default controller config
4+
if [ ! -f "${HOME}/.config/dolphin-emu/GCPadNew.ini" ]; then
5+
mkdir -p "${HOME}/.config/dolphin-emu/"
6+
cp /defaults/GCPadNew.ini "${HOME}/.config/dolphin-emu/"
7+
fi
8+
9+
foot -e /usr/games/dolphin-emu ${DOLPHIN_CLI}

root/defaults/menu_wayland.xml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<openbox_menu xmlns="http://openbox.org/3.4/menu">
3+
<menu id="root-menu" label="MENU">
4+
<item label="foot" icon="/usr/share/icons/hicolor/48x48/apps/foot.png"><action name="Execute"><command>/usr/bin/foot</command></action></item>
5+
<item label="Dolphin" icon="/usr/share/icons/hicolor/scalable/apps/dolphin-emu.svg"><action name="Execute"><command>sh -c "xterm -e /usr/games/dolphin-emu"</command></action></item>
6+
</menu>
7+
</openbox_menu>

0 commit comments

Comments
 (0)