Merge branch 'orbital-envivars' into 'master'

Draft: Small changes to ion and bash config

See merge request redox-os/redox!2203
This commit is contained in:
Ribbon 2026-06-24 19:19:07 -03:00
commit 25c3c49811
3 changed files with 18 additions and 1 deletions

View File

@ -0,0 +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 DISPLAY=$or($DISPLAY "/scheme/orbital/99.0")
export ORBITAL_DISPLAY=$or($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}/etc/skel/.config/ion"
cp -rv "${COOKBOOK_RECIPE}"/config "${COOKBOOK_STAGE}/etc/skel/.config/ion"
"""

View File

@ -75,6 +75,7 @@ fi
alias ll='ls -alF'
alias la='ls -A'
alias l='ls -CF'
#alias cl='clear' # optional alias for the "clear" command
# TODO
# Add an "alert" alias for long running commands. Use like so:
@ -97,3 +98,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