changed theme folder to 'tromjaro'

This commit is contained in:
davedatum 2019-10-30 15:32:45 +00:00
parent e0c6987f1a
commit b0a4243ee8
2 changed files with 5 additions and 5 deletions

View File

@ -35,5 +35,5 @@ package_grub-theme-tromjaro() {
cd grub-theme/manjaro-live
sed -i -e 's,.*text = "Welcome to TROMjaro".*,#text = "Welcome to TROMjaro",' theme.txt #remove welcome message
find . -type f -exec install -D -m644 {} ${pkgdir}/usr/share/grub/themes/manjaro/{} \;
find . -type f -exec install -D -m644 {} ${pkgdir}/usr/share/grub/themes/tromjaro/{} \;
}

View File

@ -1,13 +1,13 @@
post_install() {
sed -i -e 's,.*GRUB_THEME=.*,GRUB_THEME="/usr/share/grub/themes/manjaro/theme.txt",' /etc/default/grub
sed -i -e 's,.*GRUB_THEME=.*,GRUB_THEME="/usr/share/grub/themes/tromjaro/theme.txt",' /etc/default/grub
sed -i -e 's,.*GRUB_GFXMODE=.*,GRUB_GFXMODE=auto,' /etc/default/grub
sed -i -e 's,.*GRUB_DISTRIBUTOR=.*,GRUB_DISTRIBUTOR="TROMjaro Linux",' /etc/default/grub
sed -i -e 's,.*GRUB_DISTRIBUTOR=.*,GRUB_DISTRIBUTOR="TROMjaro",' /etc/default/grub
grub-mkconfig -o /boot/grub/grub.cfg
cat << _EOF
==> Installation: Theme is added to your /etc/default/grub: GRUB_THEME="/usr/share/grub/themes/manjaro/theme.txt"
==> Installation: Theme is added to your /etc/default/grub: GRUB_THEME="/usr/share/grub/themes/tromjaro/theme.txt"
==> Default resolution "auto"
==> If an OS icon doesn't appear probably not present in /usr/share/grub/themes/tromjaro/icons simply add it or merge in
==> https://github.com/Ste74/grub-theme-dev
@ -23,7 +23,7 @@ post_remove() {
cat << _EOF
==> IMPORTANT: Edit /boot/grub/grub.cfg , remove
==> set theme="/boot/grub/themes/manjaro/theme.txt"
==> set theme="/boot/grub/themes/tromjaro/theme.txt"
==> and uncomment an existing one / default!
==> (Maybe without "/boot", depending on PC setup)