summarylogtreecommitdiffstats
path: root/grub-themes.install
diff options
context:
space:
mode:
Diffstat (limited to 'grub-themes.install')
-rw-r--r--grub-themes.install13
1 files changed, 13 insertions, 0 deletions
diff --git a/grub-themes.install b/grub-themes.install
new file mode 100644
index 000000000000..b5d2b49b515c
--- /dev/null
+++ b/grub-themes.install
@@ -0,0 +1,13 @@
+post_install() {
+
+ sed -i -e 's,.*GRUB_THEME=.*,GRUB_THEME="/usr/share/grub/themes/midna/theme.txt",' /etc/default/grub
+ sed -i -e 's,.*GRUB_GFXMODE=.*,GRUB_GFXMODE=1024x768,' /etc/default/grub
+
+ cat << _EOF
+
+==> Installation: Theme is added to your /etc/default/grub: GRUB_THEME="/usr/share/grub/themes/midna/theme.txt"
+==> Update grub:# grub-mkconfig -o /boot/grub/grub.cfg
+==> to activate it
+
+_EOF
+}