add title to nano message

This commit is contained in:
Tobias Powalowski 2024-07-08 07:25:44 +02:00
parent 6a803f3f65
commit 9cd24797ae

View file

@ -36,7 +36,7 @@ _geteditor() {
_PACKAGES="nano"
_run_pacman | _dialog --title " Logging to ${_VC} | ${_LOG} " --gauge "Installing package(s):\n${_PACKAGES}..." 7 75 0
_pacman_error
_dialog --no-mouse --infobox "Enable nano's syntax highlighting on installed system..." 3 70
_dialog --no-mouse --title " Autoconfiguration " --infobox "Enable nano's syntax highlighting on installed system..." 3 70
rg -q '^include' "${_DESTDIR}/etc/nanorc" || \
echo "include \"/usr/share/nano/*.nanorc\"" >> "${_DESTDIR}/etc/nanorc"
sleep 2