Skip to content

Commit 87a5bfc

Browse files
authored
Merge pull request #2 from linuxserver/wayland
add wayland init logic
2 parents 70a968f + 4644840 commit 87a5bfc

File tree

5 files changed

+18
-1
lines changed

5 files changed

+18
-1
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -566,4 +566,5 @@ 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
* **29.08.25:** - Initial release.

readme-vars.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,4 +107,5 @@ init_diagram: |
107107
"melonds:latest" <- Base Images
108108
# changelog
109109
changelogs:
110+
- {date: "20.12.25:", desc: "Add Wayland init logic."}
110111
- {date: "29.08.25:", desc: "Initial release."}

root/defaults/autostart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@ if [ ! -f "${HOME}/.config/melonDS/melonDS.toml" ]; then
55
cp /defaults/melonDS.toml "${HOME}/.config/melonDS/"
66
fi
77

8-
xterm -e /usr/bin/melonDS
8+
foot -e /usr/bin/melonDS

root/defaults/autostart_wayland

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
#!/bin/bash
2+
3+
if [ ! -f "${HOME}/.config/melonDS/melonDS.toml" ]; then
4+
mkdir -p "${HOME}/.config/melonDS/"
5+
cp /defaults/melonDS.toml "${HOME}/.config/melonDS/"
6+
fi
7+
8+
xterm -e /usr/bin/melonDS

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="melonDS" icon="/usr/share/icons/hicolor/128x128/apps/melonds.png"><action name="Execute"><command>foot -e /usr/bin/melonDS</command></action></item>
6+
</menu>
7+
</openbox_menu>

0 commit comments

Comments
 (0)