summaryrefslogtreecommitdiff
path: root/recipes-graphics/wayland-app-launch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-graphics/wayland-app-launch')
-rw-r--r--recipes-graphics/wayland-app-launch/wayland-app-launch.inc2
-rw-r--r--recipes-graphics/wayland-app-launch/wayland-app-launch/wayland-app-launch.sh.in1
2 files changed, 2 insertions, 1 deletions
diff --git a/recipes-graphics/wayland-app-launch/wayland-app-launch.inc b/recipes-graphics/wayland-app-launch/wayland-app-launch.inc
index cd72391..18b6b29 100644
--- a/recipes-graphics/wayland-app-launch/wayland-app-launch.inc
+++ b/recipes-graphics/wayland-app-launch/wayland-app-launch.inc
@@ -18,7 +18,7 @@ FILESEXTRAPATHS_prepend := "${THISDIR}/wayland-app-launch:"
APPLICATION_ENVIRONMENT ??= ""
do_compile () {
- sed -e "s:@@wayland-application@@:${WAYLAND_APPLICATION}:" wayland-app-launch.sh.in > wayland-app-launch.sh
+ sed -e "s:@@wayland-application@@:${WAYLAND_APPLICATION}:" -e "s:@@initial-path@@:${INITIAL_PATH}:" wayland-app-launch.sh.in > wayland-app-launch.sh
sed -e "s:@@application-environment@@:${APPLICATION_ENVIRONMENT}:" wayland-app-launch.service.in > wayland-app-launch.service
}
diff --git a/recipes-graphics/wayland-app-launch/wayland-app-launch/wayland-app-launch.sh.in b/recipes-graphics/wayland-app-launch/wayland-app-launch/wayland-app-launch.sh.in
index ebebfbf..87349aa 100644
--- a/recipes-graphics/wayland-app-launch/wayland-app-launch/wayland-app-launch.sh.in
+++ b/recipes-graphics/wayland-app-launch/wayland-app-launch/wayland-app-launch.sh.in
@@ -11,4 +11,5 @@ fi
while [ ! -e $XDG_RUNTIME_DIR/wayland-0 ] ; do sleep 0.1; done
sleep 1
+cd @@initial-path@@
@@wayland-application@@ &