gui-cli: rework transition

This commit is contained in:
lelgenio 2020-03-29 14:44:19 -03:00
parent 890edf299e
commit 4400d85e2e
1 changed files with 4 additions and 2 deletions

View File

@ -20,18 +20,18 @@ gui_off (){
uncomment /etc/mkinitcpio.conf "HOOKS.* (?!plymouth)"
comment /etc/mkinitcpio.conf "HOOKS.* plymouth"
yay -Rcs plymouth --noconfirm
sudo mkinitcpio -P
comment /boot/loader/entries/arch.conf "options quiet"
sudo systemctl restart getty@tty1 &
systemctl -q is-active gdm &&
sudo systemctl disable --now gdm &
systemctl -q is-active gdm-plymouth &&
sudo systemctl disable --now gdm-plymouth &
sudo systemctl start getty@tty1
}
@ -46,6 +46,8 @@ gui_on (){
comment /etc/mkinitcpio.conf "HOOKS.* (!?plymouth)"
uncomment /etc/mkinitcpio.conf "HOOKS.* plymouth"
yay -S plymouth --noconfirm
sudo plymouth-set-default-theme arch-glow
sudo mkinitcpio -P
uncomment /boot/loader/entries/arch.conf "options quiet"