diff --git a/recipes/core/ion/config/initrc b/recipes/core/ion/config/initrc new file mode 100644 index 000000000..4e4a51f92 --- /dev/null +++ b/recipes/core/ion/config/initrc @@ -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" diff --git a/recipes/core/ion/recipe.toml b/recipes/core/ion/recipe.toml index 80c82e33e..56b931d2d 100644 --- a/recipes/core/ion/recipe.toml +++ b/recipes/core/ion/recipe.toml @@ -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" +""" diff --git a/recipes/terminal/bash/etc/skel/.bashrc b/recipes/terminal/bash/etc/skel/.bashrc index 437837411..bffa2bfe3 100644 --- a/recipes/terminal/bash/etc/skel/.bashrc +++ b/recipes/terminal/bash/etc/skel/.bashrc @@ -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 \ No newline at end of file