mirror of
https://gitlab.redox-os.org/redox-os/redox.git
synced 2026-06-28 23:58:42 +08:00
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:
commit
25c3c49811
6
recipes/core/ion/config/initrc
Normal file
6
recipes/core/ion/config/initrc
Normal 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"
|
||||
@ -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"
|
||||
"""
|
||||
|
||||
@ -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
|
||||
Loading…
Reference in New Issue
Block a user