mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-20 03:50:37 +02:00
add browser switch
This commit is contained in:
parent
b9fd75d0d2
commit
df7b0ddfca
1 changed files with 1 additions and 1 deletions
|
@ -26,7 +26,7 @@ _desktop () {
|
||||||
#shellcheck disable=SC2086
|
#shellcheck disable=SC2086
|
||||||
_dialog --title " Internet Browser " --menu "" 9 30 5 \
|
_dialog --title " Internet Browser " --menu "" 9 30 5 \
|
||||||
"chromium" "Chromium" \
|
"chromium" "Chromium" \
|
||||||
"firefox" "Firefox" >${_ANSWER} || return 1
|
"firefox" "Firefox" 2>${_ANSWER} || return 1
|
||||||
_BROWSER="$(cat ${_BROWSER})"
|
_BROWSER="$(cat ${_BROWSER})"
|
||||||
sed -i -e "s#STANDARD_BROWSER=.*#STANDARD_BROWSER=${_BROWSER}#g" /etc/archboot/defaults
|
sed -i -e "s#STANDARD_BROWSER=.*#STANDARD_BROWSER=${_BROWSER}#g" /etc/archboot/defaults
|
||||||
source /etc/locale.conf
|
source /etc/locale.conf
|
||||||
|
|
Loading…
Reference in a new issue