diff options
Diffstat (limited to 'catppuccin-grub-theme.install')
-rw-r--r-- | catppuccin-grub-theme.install | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/catppuccin-grub-theme.install b/catppuccin-grub-theme.install index b81eaa7c0757..6bda8268c1aa 100644 --- a/catppuccin-grub-theme.install +++ b/catppuccin-grub-theme.install @@ -2,11 +2,15 @@ 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." + sed -ie 's,.*GRUB_THEME=.*,GRUB_THEME="/usr/share/grub/themes/catppuccin/theme.txt",' /etc/default/grub + + msg "Installed Catppuccin GRUB theme." + msg2 "Run 'grub-mkconfig -o /boot/grub/grub.cfg' to apply the 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." + sed -ie 's,.*GRUB_THEME=.*,#GRUB_THEME="/path/to/gfxtheme",' /etc/default/grub + + warning "Removed Catppuccin GRUB theme." + msg2 "Run 'grub-mkconfig -o /boot/grub/grub.cfg' to unapply the theme." } |