mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-19 19:40:37 +02:00
add browser switch
This commit is contained in:
parent
c4859f3441
commit
33db3a4eac
1 changed files with 3 additions and 3 deletions
|
@ -24,9 +24,9 @@ _desktop () {
|
|||
[[ -e /.launcher-running ]] && rm /.launcher-running
|
||||
_EXIT=$(cat "${_ANSWER}")
|
||||
#shellcheck disable=SC2086
|
||||
_dialog --title " Internet Browser " --menu "" 9 30 5 \
|
||||
"chromium" "Chromium" \
|
||||
"firefox" "Firefox" 2>${_ANSWER} || return 1
|
||||
_dialog --title " Internet Browser " --menu "" 8 30 4 \
|
||||
"chromium" "Google Chromium" \
|
||||
"firefox" "Mozilla Firefox" 2>${_ANSWER} || return 1
|
||||
_BROWSER="$(cat ${_ANSWER})"
|
||||
sed -i -e "s#STANDARD_BROWSER=.*#STANDARD_BROWSER=${_BROWSER}#g" /etc/archboot/defaults
|
||||
source /etc/locale.conf
|
||||
|
|
Loading…
Reference in a new issue