summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorTuhana GAYRETLÄ°2022-03-16 18:06:28 +0300
committerTuhana GAYRETLÄ°2022-03-16 18:06:28 +0300
commit18ea2cab863f41ff667d799f526562bd10dcdb0d (patch)
treed9e8db62ef98daa2afff48f81010d692f7738d47
parentfc518d7a94d10b612d6d3d2ccd65f2fb01199ba4 (diff)
downloadaur-18ea2cab863f41ff667d799f526562bd10dcdb0d.tar.gz
update .install file
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD2
-rw-r--r--catppuccin-grub-theme.install12
3 files changed, 10 insertions, 6 deletions
diff --git a/.SRCINFO b/.SRCINFO
index eec6c755fc70..76144001d622 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -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
diff --git a/PKGBUILD b/PKGBUILD
index 3ea585a7bb1b..987b9747abb0 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -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."
}