summarylogtreecommitdiffstats
path: root/singularity-theme.install
blob: aed2a185550857e1b0d133339826a5772afba232 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
post_install() {

  sed -i -e 's,.*GRUB_THEME=.*,GRUB_THEME="/usr/share/grub/themes/singularity/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/singularity/theme.txt"
==> Default resolution "auto"
==> If an OS icon doesn't appear to be present in /usr/share/grub/themes/singularity/icons simply add it or merge in
==> https://gitlab.com/waser-technologies/images/wallpapers/singulartiy-grub-theme

_EOF
}

post_remove() {
cat << _EOF

==> IMPORTANT: Edit /boot/grub/grub.cfg , remove
==> set theme="/boot/grub/themes/singularity/theme.txt"
==> and uncomment an existing one / default!
==> (Maybe without "/boot", depending on PC setup)

_EOF
}