add browser switch

This commit is contained in:
Tobias Powalowski 2024-06-15 18:08:32 +02:00
parent 1d1a6090f7
commit b9fd75d0d2
2 changed files with 7 additions and 11 deletions

View file

@ -23,6 +23,12 @@ _desktop () {
_dialog --title " Desktop Menu " --menu "" 10 40 6 "${_DESKTOP[@]}" 2>"${_ANSWER}" || return 1
[[ -e /.launcher-running ]] && rm /.launcher-running
_EXIT=$(cat "${_ANSWER}")
#shellcheck disable=SC2086
_dialog --title " Internet Browser " --menu "" 9 30 5 \
"chromium" "Chromium" \
"firefox" "Firefox" >${_ANSWER} || return 1
_BROWSER="$(cat ${_BROWSER})"
sed -i -e "s#STANDARD_BROWSER=.*#STANDARD_BROWSER=${_BROWSER}#g" /etc/archboot/defaults
source /etc/locale.conf
if [[ "${_EXIT}" == "GNOME" ]]; then
clear

View file

@ -17,7 +17,7 @@
<h1>Archboot Home | <a href="https://archboot.com/gallery.html">Gallery</a> | <a href="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&amp;hosted_button_id=Z7GXKW4MKHK7C"><img src="donate.png" alt="Donate"></a></h1>
<h2>2024 Fundraise: 0% <progress max="100" value="38">0%</progress> 100%</h2>
<p><strong>&copy; 2006 - 2024 | <a href=mailto:tpowa@archlinux.org>Tobias Powalowski</a></strong> | Arch Linux Developer <strong><a href="https://archlinux.org/people/developers/#tpowa">tpowa</a></strong><br>
<strong>Last update: 12.06.2024 15:26</strong></p>
<strong>Last update: 15.06.2024 15:56</strong></p>
<nav id="TOC" role="doc-toc">
<ul>
<li><a href="#introduction" id="toc-introduction"><strong><span class="toc-section-number">1.</span> Introduction</strong></a></li>
@ -870,21 +870,11 @@ The calculated size to boot the image follows the formula:<br>
<td class="MyYes">&#10004;</td>
<td class="MyNo">&#10006;</td>
</tr>
<tr class="even">
<td><a href="https://wiki.archlinux.org/title/Gnome" title="Gnome"><strong>Gnome</strong></a> <a href="https://wiki.archlinux.org/title/Wayland" title="Wayland"><strong>Wayland</strong></a> desktop</td>
<td class="MyYes">&#10004;</td>
<td class="MyNo">&#10006;</td>
</tr>
<tr class="odd">
<td><a href="https://wiki.archlinux.org/title/KDE" title="KDE/Plasma"><strong>KDE/Plasma</strong></a> desktop</td>
<td class="MyYes">&#10004;</td>
<td class="MyNo">&#10006;</td>
</tr>
<tr class="even">
<td><a href="https://wiki.archlinux.org/title/KDE" title="KDE/Plasma"><strong>KDE/Plasma</strong></a> <a href="https://wiki.archlinux.org/title/Wayland" title="Wayland"><strong>Wayland</strong></a> desktop</td>
<td class="MyYes">&#10004;</td>
<td class="MyNo">&#10006;</td>
</tr>
<tr class="odd">
<td><a href="https://wiki.archlinux.org/title/Sway" title="Xfce"><strong>Sway Wayland</strong></a> compositor</td>
<td class="MyYes">&#10004;</td>