diff options
author | Tuhana GAYRETLÄ° | 2022-03-16 18:06:28 +0300 |
---|---|---|
committer | Tuhana GAYRETLÄ° | 2022-03-16 18:06:28 +0300 |
commit | 18ea2cab863f41ff667d799f526562bd10dcdb0d (patch) | |
tree | d9e8db62ef98daa2afff48f81010d692f7738d47 | |
parent | fc518d7a94d10b612d6d3d2ccd65f2fb01199ba4 (diff) | |
download | aur-18ea2cab863f41ff667d799f526562bd10dcdb0d.tar.gz |
update .install file
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 2 | ||||
-rw-r--r-- | catppuccin-grub-theme.install | 12 |
3 files changed, 10 insertions, 6 deletions
@@ -1,7 +1,7 @@ pkgbase = catppuccin-grub-theme-git pkgdesc = Catppuccin GRUB theme. pkgver = r24.3f62cd4 - pkgrel = 1 + pkgrel = 2 url = https://github.com/catppuccin/grub install = catppuccin-grub-theme.install arch = any @@ -4,7 +4,7 @@ pkgname=catppuccin-grub-theme-git _pkgname=catppuccin-grub-theme _theme=catppuccin pkgver=r24.3f62cd4 -pkgrel=1 +pkgrel=2 pkgdesc="Catppuccin GRUB theme." arch=("any") url="https://github.com/catppuccin/grub" 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." } |