From 83c01e3ece609f6c844a1d58df8b7cffb0da9c9c Mon Sep 17 00:00:00 2001 From: thelamer Date: Sun, 21 Dec 2025 10:58:21 -0500 Subject: [PATCH 1/2] add wayland init logic --- README.md | 1 + readme-vars.yml | 1 + root/defaults/autostart_wayland | 8 ++++++++ root/defaults/menu_wayland.xml | 7 +++++++ 4 files changed, 17 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 61e20af..7be8065 100644 --- a/README.md +++ b/README.md @@ -566,4 +566,5 @@ Once registered you can define the dockerfile to use with `-f Dockerfile.aarch64 ## Versions +* **20.12.25:** - Add Wayland init logic. * **29.11.25:** - Initial Version. diff --git a/readme-vars.yml b/readme-vars.yml index 2d14278..944ac25 100644 --- a/readme-vars.yml +++ b/readme-vars.yml @@ -102,4 +102,5 @@ init_diagram: | "azahar:latest" <- Base Images # changelog changelogs: + - {date: "20.12.25:", desc: "Add Wayland init logic."} - {date: "29.11.25:", desc: "Initial Version."} diff --git a/root/defaults/autostart_wayland b/root/defaults/autostart_wayland new file mode 100644 index 0000000..40532bf --- /dev/null +++ b/root/defaults/autostart_wayland @@ -0,0 +1,8 @@ +#!/bin/bash + +if [ ! -f "${HOME}/.config/azahar-emu/qt-config.ini" ]; then + mkdir -p "${HOME}/.config/azahar-emu/" + cp /defaults/qt-config.ini "${HOME}/.config/azahar-emu/" +fi + +foot -e /usr/sbin/azahar diff --git a/root/defaults/menu_wayland.xml b/root/defaults/menu_wayland.xml new file mode 100644 index 0000000..67f1f65 --- /dev/null +++ b/root/defaults/menu_wayland.xml @@ -0,0 +1,7 @@ + + + +/usr/bin/foot +xterm -e /usr/sbin/azahar + + From 30c7f766623fc5f47082f459caac273cf4f8875f Mon Sep 17 00:00:00 2001 From: thelamer Date: Sun, 21 Dec 2025 12:21:01 -0500 Subject: [PATCH 2/2] use foot to launch --- root/defaults/menu_wayland.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/root/defaults/menu_wayland.xml b/root/defaults/menu_wayland.xml index 67f1f65..76f83da 100644 --- a/root/defaults/menu_wayland.xml +++ b/root/defaults/menu_wayland.xml @@ -2,6 +2,6 @@ /usr/bin/foot -xterm -e /usr/sbin/azahar +foot -e /usr/sbin/azahar