2023-06-23 22:30:32 +02:00

14 lines
466 B
TOML

packages = ["plymouth-kcm", "plymouth-theme-manjaro"]
script = """
set -eux
echo "Editing default grub config..."
[[ -f "/etc/default/grub" ]] && sed -i s/'GRUB_CMDLINE_LINUX_DEFAULT="'/'GRUB_CMDLINE_LINUX_DEFAULT="splash '/g /etc/default/grub
grep GRUB_CMDLINE_LINUX_DEFAULT /etc/default/grub
echo "Set plymouth theme"
sed -i -e "s,.*Theme=.*,Theme=manjaro," /etc/plymouth/plymouthd.conf
cat /etc/plymouth/plymouthd.conf
plymouth-set-default-theme -R manjaro
"""