Add font size selection
This commit is contained in:
parent
a003e52a52
commit
5f8795d6e9
@ -8,7 +8,7 @@
|
|||||||
# check for syntax errors
|
# check for syntax errors
|
||||||
# set -n
|
# set -n
|
||||||
|
|
||||||
VER=2.1.7
|
VER=2.1.8
|
||||||
|
|
||||||
# default values {
|
# default values {
|
||||||
|
|
||||||
@ -2582,13 +2582,12 @@ net_connect()
|
|||||||
else
|
else
|
||||||
nmtui-connect
|
nmtui-connect
|
||||||
fi
|
fi
|
||||||
chk_connect
|
|
||||||
elif hash wifi-menu > /dev/null 2>&1; then
|
elif hash wifi-menu > /dev/null 2>&1; then
|
||||||
wifi-menu
|
wifi-menu
|
||||||
chk_connect
|
|
||||||
else
|
else
|
||||||
return 1
|
return 1
|
||||||
fi
|
fi
|
||||||
|
chk_connect
|
||||||
}
|
}
|
||||||
|
|
||||||
dwm_xsession()
|
dwm_xsession()
|
||||||
@ -2660,8 +2659,8 @@ system_identify()
|
|||||||
termcol
|
termcol
|
||||||
|
|
||||||
# ensure the required packages are installed and that we're running as root on x86_64 architecture
|
# ensure the required packages are installed and that we're running as root on x86_64 architecture
|
||||||
if ! hash dialog rsync find parted curl >/dev/null 2>&1; then
|
if ! hash dialog rsync find parted curl arch-chroot >/dev/null 2>&1; then
|
||||||
printf "One or more of the required packages is missing: dialog, curl, rsync, parted, findutils"
|
printf "One or more of the required packages is missing: dialog, curl, rsync, parted, findutils, arch-install-scripts"
|
||||||
die 1
|
die 1
|
||||||
elif (( UID != 0 )); then
|
elif (( UID != 0 )); then
|
||||||
msg "Not Root" "\nThis installer must be run as root or using sudo.\n\nExiting..\n" 2
|
msg "Not Root" "\nThis installer must be run as root or using sudo.\n\nExiting..\n" 2
|
||||||
@ -2693,6 +2692,17 @@ done
|
|||||||
system_identify
|
system_identify
|
||||||
system_devices
|
system_devices
|
||||||
|
|
||||||
|
while :; do
|
||||||
|
dlg fontsize menu "Font Size" "\nSelect a font size from the list below" \
|
||||||
|
12 "setfont ter-i12n" 14 "setfont ter-i14n" 16 "setfont ter-i16n" 18 "setfont ter-i18n" \
|
||||||
|
20 "setfont ter-i20n" 22 "setfont ter-i22n" 24 "setfont ter-i24n" 28 "setfont ter-i28n" \
|
||||||
|
32 "setfont ter-i32n" || break
|
||||||
|
|
||||||
|
FONT="ter-i${fontsize}n"
|
||||||
|
setfont "$FONT"
|
||||||
|
yesno "Font Size" "\nKeep the currently set font size?\n" && break
|
||||||
|
done
|
||||||
|
|
||||||
msg "Welcome to the $DIST Installer" "$_welcome"
|
msg "Welcome to the $DIST Installer" "$_welcome"
|
||||||
|
|
||||||
if ! select_keymap; then
|
if ! select_keymap; then
|
||||||
|
Reference in New Issue
Block a user