diff --git a/recipes/core/ion/initrc b/recipes/core/ion/initrc index ff6eb7d85..4e4a51f92 100644 --- a/recipes/core/ion/initrc +++ b/recipes/core/ion/initrc @@ -1,5 +1,6 @@ # set orbital screen resolution to avoid x11 or wayland fallback for applications in a orbital session and workaround shell quirks export DISPLAY=/scheme/orbital/99.0 -export ORBITAL_DISPLAY=/scheme/orbital +export DISPLAY=$or($DISPLAY "/scheme/orbital/99.0") +export ORBITAL_DISPLAY=$or($ORBITAL_DISPLAY "/scheme/orbital") # optional alias for the "clear" command #alias cl = "clear" diff --git a/recipes/core/ion/recipe.toml b/recipes/core/ion/recipe.toml index ad62bc089..56b931d2d 100644 --- a/recipes/core/ion/recipe.toml +++ b/recipes/core/ion/recipe.toml @@ -6,6 +6,6 @@ template = "custom" script = """ DYNAMIC_INIT cookbook_cargo -mkdir -pv "${COOKBOOK_STAGE}/home/user/.config/ion" -cp -rv "${COOKBOOK_RECIPE}"/initrc "${COOKBOOK_STAGE}/home/user/.config/ion" +mkdir -pv "${COOKBOOK_STAGE}/etc/skel/.config/ion" +cp -rv "${COOKBOOK_RECIPE}"/config "${COOKBOOK_STAGE}/etc/skel/.config/ion" """