mirror of
https://github.com/philmmanjaro/alma.git
synced 2025-12-07 03:39:21 +01:00
[presets] add ROG ALLY support
This commit is contained in:
13
presets/rog-ally-plasma/05-plymouth.toml
Normal file
13
presets/rog-ally-plasma/05-plymouth.toml
Normal 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
|
||||
"""
|
||||
Reference in New Issue
Block a user