add _RUNNING_ARCH to scripts title

This commit is contained in:
Tobias Powalowski 2023-06-29 19:40:07 +02:00
parent 9a6a5fe6ca
commit 88573a2ddb
3 changed files with 7 additions and 5 deletions

View file

@ -2,7 +2,8 @@
# SPDX-License-Identifier: GPL-2.0-only # SPDX-License-Identifier: GPL-2.0-only
# written by Tobias Powalowski <tpowa@archlinux.org> # written by Tobias Powalowski <tpowa@archlinux.org>
_ANSWER="/tmp/.km" _ANSWER="/tmp/.km"
_TITLE="Archboot | Arch Linux Setup | Console Configuration" _RUNNING_ARCH="$(uname -m)"
_TITLE="Archboot ${_RUNNING_ARCH} | Arch Linux Setup | Console Configuration"
_LIST_MAPS="localectl list-keymaps --no-pager" _LIST_MAPS="localectl list-keymaps --no-pager"
# _dialog() # _dialog()
# an el-cheapo dialog wrapper # an el-cheapo dialog wrapper

View file

@ -2,7 +2,8 @@
# SPDX-License-Identifier: GPL-2.0-only # SPDX-License-Identifier: GPL-2.0-only
# written by Tobias Powalowski <tpowa@archlinux.org> # written by Tobias Powalowski <tpowa@archlinux.org>
_ANSWER="/tmp/.tz" _ANSWER="/tmp/.tz"
_TITLE="Archboot | Arch Linux Setup | Clock Configuration" _RUNNING_ARCH="$(uname -m)"
_TITLE="Archboot ${_RUNNING_ARCH} | Arch Linux Setup | Clock Configuration"
# _dialog() # _dialog()
# an el-cheapo dialog wrapper # an el-cheapo dialog wrapper
# #

View file

@ -30,12 +30,12 @@ fi
_set_title() { _set_title() {
if [[ "${_DESTDIR}" == "/" ]]; then if [[ "${_DESTDIR}" == "/" ]]; then
_TITLE="Archboot | Arch Linux Setup (System Mode) | https://archboot.com" _TITLE="Archboot ${_RUNNING_ARCH} | Arch Linux Setup (System Mode) | https://archboot.com"
else else
if [[ -e "${_LOCAL_DB}" ]]; then if [[ -e "${_LOCAL_DB}" ]]; then
_TITLE="Archboot | Arch Linux Setup (Local Mode) | https://archboot.com" _TITLE="Archboot ${_RUNNING_ARCH} | Arch Linux Setup (Local Mode) | https://archboot.com"
else else
_TITLE="Archboot | Arch Linux Setup (Online Mode) | https://archboot.com" _TITLE="Archboot ${_RUNNING_ARCH} | Arch Linux Setup (Online Mode) | https://archboot.com"
fi fi
fi fi
} }