Small changes to ion and bash config

This commit is contained in:
Ribbon 2026-06-22 03:42:50 -03:00
parent ad6defe587
commit 256c414a9b
3 changed files with 16 additions and 1 deletions

5
recipes/core/ion/initrc Normal file
View File

@ -0,0 +1,5 @@
# 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
# optional alias for the "clear" command
#alias cl = "clear"

View File

@ -2,4 +2,10 @@
git = "https://gitlab.redox-os.org/redox-os/ion.git"
[build]
template = "cargo"
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"
"""

View File

@ -97,3 +97,7 @@ if ! shopt -oq posix; then
. /etc/bash_completion
fi
fi
# set orbital screen resolution to workaround shell quirks and avoid x11 or wayland fallback for applications in a orbital session
export DISPLAY=/scheme/orbital/99.0
export ORBITAL_DISPLAY=/scheme/orbital