blob: b81eaa7c07578027bc856472dc1e94d2c0f44e54 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
. /usr/share/makepkg/util/message.sh
colorize
post_install() {
sed -i -e 's,.*GRUB_THEME=.*,GRUB_THEME="/usr/share/grub/themes/catppuccin/theme.txt",' /etc/default/grub
msg "Catppuccin theme set as default! Run 'grub-mkconfig -o /boot/grub/grub.cfg' to apply theme."
}
post_remove() {
sed -i -e 's,.*GRUB_THEME=.*,#GRUB_THEME="/path/to/gfxtheme",' /etc/default/grub
warning "Removed Catppuccin GRUB theme! Run 'grub-mkconfig -o /boot/grub/grub.cfg' to deactivate theme."
}
|