[presets] add ROG ALLY support

This commit is contained in:
Philip Mueller
2023-06-23 19:56:03 +02:00
parent 42af023b54
commit 391c5d0cc1
10 changed files with 110 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
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
"""