Merge pull request #234 from khaneliman/plymouth
Plymouth Boot Splash Added
|
|
@ -0,0 +1,13 @@
|
||||||
|
[Plymouth Theme]
|
||||||
|
Name=Ingress
|
||||||
|
Description=A theme that features the shadowy hull of an Ingress logo charge up and and finally burst into into full form.
|
||||||
|
ModuleName=two-step
|
||||||
|
|
||||||
|
[two-step]
|
||||||
|
ImageDir=/usr/share/plymouth/themes/arch-glow
|
||||||
|
HorizontalAlignment=.5
|
||||||
|
VerticalAlignment=.5
|
||||||
|
Transition=none
|
||||||
|
TransitionDuration=0.0
|
||||||
|
BackgroundStartColor=0x202020
|
||||||
|
BackgroundEndColor=0x202020
|
||||||
|
After Width: | Height: | Size: 870 B |
|
After Width: | Height: | Size: 131 B |
|
After Width: | Height: | Size: 367 B |
|
After Width: | Height: | Size: 1.9 KiB |
|
After Width: | Height: | Size: 2.3 KiB |
|
After Width: | Height: | Size: 2.3 KiB |
|
After Width: | Height: | Size: 2.3 KiB |
|
After Width: | Height: | Size: 2.3 KiB |
|
After Width: | Height: | Size: 2.4 KiB |
|
After Width: | Height: | Size: 2.4 KiB |
|
After Width: | Height: | Size: 2.4 KiB |
|
After Width: | Height: | Size: 2.4 KiB |
|
After Width: | Height: | Size: 2.4 KiB |
|
After Width: | Height: | Size: 2.4 KiB |
|
After Width: | Height: | Size: 2.4 KiB |
|
After Width: | Height: | Size: 2.4 KiB |
|
After Width: | Height: | Size: 2.4 KiB |
|
After Width: | Height: | Size: 2.4 KiB |
|
After Width: | Height: | Size: 2.4 KiB |
|
After Width: | Height: | Size: 2.4 KiB |
|
After Width: | Height: | Size: 2.3 KiB |
|
After Width: | Height: | Size: 2.3 KiB |
|
After Width: | Height: | Size: 2.3 KiB |
|
After Width: | Height: | Size: 5.7 KiB |
|
After Width: | Height: | Size: 6.1 KiB |
|
After Width: | Height: | Size: 6.3 KiB |
|
After Width: | Height: | Size: 6.4 KiB |
|
After Width: | Height: | Size: 6.4 KiB |
|
After Width: | Height: | Size: 7.6 KiB |
|
After Width: | Height: | Size: 7.7 KiB |
|
After Width: | Height: | Size: 7.6 KiB |
|
After Width: | Height: | Size: 7.2 KiB |
|
After Width: | Height: | Size: 6.7 KiB |
|
After Width: | Height: | Size: 2.8 KiB |
|
After Width: | Height: | Size: 2.8 KiB |
|
After Width: | Height: | Size: 2.8 KiB |
|
After Width: | Height: | Size: 2.8 KiB |
|
After Width: | Height: | Size: 2.8 KiB |
|
After Width: | Height: | Size: 2.8 KiB |
|
|
@ -14,6 +14,7 @@ nordic-darker-theme
|
||||||
nordic-kde-git
|
nordic-kde-git
|
||||||
nordic-theme
|
nordic-theme
|
||||||
ocs-url
|
ocs-url
|
||||||
|
plymouth-git
|
||||||
sddm-nordic-theme-git
|
sddm-nordic-theme-git
|
||||||
snapper-gui-git
|
snapper-gui-git
|
||||||
ttf-meslo
|
ttf-meslo
|
||||||
|
|
|
||||||
|
|
@ -20,10 +20,18 @@ source ${HOME}/ArchTitus/configs/setup.conf
|
||||||
if [[ -d "/sys/firmware/efi" ]]; then
|
if [[ -d "/sys/firmware/efi" ]]; then
|
||||||
grub-install --efi-directory=/boot ${DISK}
|
grub-install --efi-directory=/boot ${DISK}
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
echo -ne "
|
||||||
|
-------------------------------------------------------------------------
|
||||||
|
Creating (and Theming) Grub Boot Menu
|
||||||
|
-------------------------------------------------------------------------
|
||||||
|
"
|
||||||
# set kernel parameter for decrypting the drive
|
# set kernel parameter for decrypting the drive
|
||||||
if [[ "${FS}" == "luks" ]]; then
|
if [[ "${FS}" == "luks" ]]; then
|
||||||
sed -i "s%GRUB_CMDLINE_LINUX_DEFAULT=\"%GRUB_CMDLINE_LINUX_DEFAULT=\"cryptdevice=UUID=${ENCRYPTED_PARTITION_UUID}:ROOT root=/dev/mapper/ROOT %g" /etc/default/grub
|
sed -i "s%GRUB_CMDLINE_LINUX_DEFAULT=\"%GRUB_CMDLINE_LINUX_DEFAULT=\"cryptdevice=UUID=${ENCRYPTED_PARTITION_UUID}:ROOT root=/dev/mapper/ROOT %g" /etc/default/grub
|
||||||
fi
|
fi
|
||||||
|
# set kernel parameter for adding splash screen
|
||||||
|
sed -i 's/GRUB_CMDLINE_LINUX_DEFAULT="[^"]*/& splash /' /etc/default/grub
|
||||||
|
|
||||||
echo -e "Installing CyberRe Grub theme..."
|
echo -e "Installing CyberRe Grub theme..."
|
||||||
THEME_DIR="/boot/grub/themes"
|
THEME_DIR="/boot/grub/themes"
|
||||||
|
|
@ -112,6 +120,25 @@ cp -rfv ${SNAPPER_CONF_D} /etc/conf.d/
|
||||||
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
echo -ne "
|
||||||
|
-------------------------------------------------------------------------
|
||||||
|
Enabling (and Theming) Plymouth Boot Splash
|
||||||
|
-------------------------------------------------------------------------
|
||||||
|
"
|
||||||
|
PLYMOUTH_THEMES_DIR="$HOME/ArchTitus/configs/usr/share/plymouth/themes"
|
||||||
|
PLYMOUTH_THEME="arch-glow" # can grab from config later if we allow selection
|
||||||
|
mkdir -p /usr/share/plymouth/themes
|
||||||
|
echo 'Installing Plymouth theme...'
|
||||||
|
cp -rf ${PLYMOUTH_THEMES_DIR}/${PLYMOUTH_THEME} /usr/share/plymouth/themes
|
||||||
|
if [[ $FS == "luks"]]; then
|
||||||
|
sed -i 's/HOOKS=(base udev*/& plymouth/' /etc/mkinitcpio.conf # add plymouth after base udev
|
||||||
|
sed -i 's/HOOKS=(base udev \(.*block\) /&plymouth-/' /etc/mkinitcpio.conf # create plymouth-encrypt after block hook
|
||||||
|
else
|
||||||
|
sed -i 's/HOOKS=(base udev*/& plymouth/' /etc/mkinitcpio.conf # add plymouth after base udev
|
||||||
|
fi
|
||||||
|
plymouth-set-default-theme -R arch-glow # sets the theme and runs mkinitcpio
|
||||||
|
echo 'Plymouth theme installed'
|
||||||
|
|
||||||
echo -ne "
|
echo -ne "
|
||||||
-------------------------------------------------------------------------
|
-------------------------------------------------------------------------
|
||||||
Cleaning
|
Cleaning
|
||||||
|
|
|
||||||