inital commit
This commit is contained in:
30
tromjaro-theme.install
Executable file
30
tromjaro-theme.install
Executable file
@ -0,0 +1,30 @@
|
||||
post_install() {
|
||||
|
||||
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
|
||||
grub-mkconfig -o /boot/grub/grub.cfg
|
||||
|
||||
cat << _EOF
|
||||
|
||||
==> 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
|
||||
|
||||
_EOF
|
||||
}
|
||||
|
||||
post_upgrade() {
|
||||
post_install
|
||||
}
|
||||
|
||||
post_remove() {
|
||||
cat << _EOF
|
||||
|
||||
==> IMPORTANT: Edit /boot/grub/grub.cfg , remove
|
||||
==> set theme="/boot/grub/themes/tromjaro/theme.txt"
|
||||
==> and uncomment an existing one / default!
|
||||
==> (Maybe without "/boot", depending on PC setup)
|
||||
|
||||
_EOF
|
||||
}
|
Reference in New Issue
Block a user