mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-20 03:50:37 +02:00
shorten graphic environmen startup
This commit is contained in:
parent
bcbf7c3ba1
commit
4656e01818
1 changed files with 12 additions and 34 deletions
|
@ -126,44 +126,22 @@ if [[ "${_L_XFCE}" == "1" || "${_L_KDE}" == "1" || "${_L_GNOME}" == "1" || "${_L
|
||||||
fi
|
fi
|
||||||
echo -e "\033[1mStep 2/5:\033[0m Waiting for gpg pacman keyring import to finish ..."
|
echo -e "\033[1mStep 2/5:\033[0m Waiting for gpg pacman keyring import to finish ..."
|
||||||
_gpg_check
|
_gpg_check
|
||||||
# Launch xfce
|
[[ "${_L_XFCE}" == "1" ]] && _install_xfce
|
||||||
if [[ "${_L_XFCE}" == "1" ]]; then
|
[[ "${_L_GNOME}" == "1" ]] && _install_gnome
|
||||||
_install_xfce
|
[[ "${_L_GNOME_WAYLAND}" == "1" ]] && _install_gnome_wayland
|
||||||
fi
|
[[ "${_L_KDE}" == "1" ]] && _install_kde
|
||||||
if [[ "${_L_GNOME}" == "1" ]]; then
|
[[ "${_L_KDE_WAYLAND}" == "1" ]] && _install_kde_wayland
|
||||||
_install_gnome
|
|
||||||
fi
|
|
||||||
if [[ "${_L_GNOME_WAYLAND}" == "1" ]]; then
|
|
||||||
_install_gnome_wayland
|
|
||||||
fi
|
|
||||||
if [[ "${_L_KDE}" == "1" ]]; then
|
|
||||||
_install_kde
|
|
||||||
fi
|
|
||||||
if [[ "${_L_KDE_WAYLAND}" == "1" ]]; then
|
|
||||||
_install_kde_wayland
|
|
||||||
fi
|
|
||||||
echo -e "\033[1mStep 5/5:\033[0m Starting avahi-daemon ..."
|
echo -e "\033[1mStep 5/5:\033[0m Starting avahi-daemon ..."
|
||||||
systemctl start avahi-daemon.service
|
systemctl start avahi-daemon.service
|
||||||
# only start vnc on xorg environment
|
# only start vnc on xorg environment
|
||||||
if [[ "${_L_XFCE}" == "1" || "${_L_KDE}" == "1" || "${_L_GNOME}" == "1" ]]; then
|
[[ "${_L_XFCE}" == "1" || "${_L_KDE}" == "1" || "${_L_GNOME}" == "1" ]] && _autostart_vnc
|
||||||
_autostart_vnc
|
|
||||||
fi
|
|
||||||
_chromium_flags
|
_chromium_flags
|
||||||
if [[ "${_L_XFCE}" == "1" ]]; then
|
[[ "${_L_XFCE}" == "1" ]] && _start_xfce
|
||||||
_start_xfce
|
[[ "${_L_GNOME}" == "1" ]] && _start_gnome
|
||||||
fi
|
[[ "${_L_GNOME_WAYLAND}" == "1" ]] && _start_gnome_wayland
|
||||||
if [[ "${_L_GNOME}" == "1" ]]; then
|
[[ "${_L_KDE}" == "1" ]] && _start_kde
|
||||||
_start_gnome
|
[[ "${_L_KDE_WAYLAND}" == "1" ]] && _start_kde_wayland
|
||||||
fi
|
|
||||||
if [[ "${_L_GNOME_WAYLAND}" == "1" ]]; then
|
|
||||||
_start_gnome_wayland
|
|
||||||
fi
|
|
||||||
if [[ "${_L_KDE}" == "1" ]]; then
|
|
||||||
_start_kde
|
|
||||||
fi
|
|
||||||
if [[ "${_L_KDE_WAYLAND}" == "1" ]]; then
|
|
||||||
_start_kde_wayland
|
|
||||||
fi
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue