Skip to content

Commit

Permalink
Update Akame theme
Browse files Browse the repository at this point in the history
  • Loading branch information
D3vil0p3r committed Oct 21, 2024
1 parent 5be4dca commit 15ca466
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/themes/materials/colorbase/athena-red-base/PKGBUILD
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
pkgname=athena-red-base
pkgver=6.791c7a9
pkgver=8.4c57cb3
pkgrel=1
pkgdesc="Red colorbase resources."
arch=('any')
Expand All @@ -21,12 +21,14 @@ package() {
install -dm 755 "$pkgdir/usr/share/athena-red-base"
install -dm 755 "$pkgdir/usr/share/backgrounds/athena"
install -Dm 644 "wallpapers/akame.jpg" "$pkgdir/usr/share/backgrounds/athena/"
install -Dm 644 "wallpapers/murasame.jpg" "$pkgdir/usr/share/backgrounds/athena/"
install -Dm 644 "wallpapers/redmoon.png" "$pkgdir/usr/share/backgrounds/athena/"

cp -a "icons/apps" "$pkgdir/usr/share/athena-red-base/"
cp -a "icons/categories" "$pkgdir/usr/share/athena-red-base/"

install -dm 755 "$pkgdir/usr/share/gnome-background-properties"
install -Dm 644 "gnome-background-properties/akame.xml" "$pkgdir/usr/share/athena-red-base/"
install -Dm 644 "gnome-background-properties/murasame.xml" "$pkgdir/usr/share/athena-red-base/"
install -Dm 644 "gnome-background-properties/redmoon.xml" "$pkgdir/usr/share/athena-red-base/"
}
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ post_install() {
echo -e "GNOME environment detected..."
mkdir -p "/usr/share/gnome-background-properties"
mv "/usr/share/athena-red-base/akame.xml" "/usr/share/gnome-background-properties/"
mv "/usr/share/athena-red-base/murasame.xml" "/usr/share/gnome-background-properties/"
mv "/usr/share/athena-red-base/redmoon.xml" "/usr/share/gnome-background-properties/"
fi
rm -rf /usr/share/athena-red-base
Expand All @@ -20,6 +21,7 @@ post_remove() {
# Optionally remove the XML file if GNOME was detected during install
if [ -d "/usr/share/gnome-shell" ]; then
rm -f "/usr/share/gnome-background-properties/akame.xml"
rm -f "/usr/share/gnome-background-properties/murasame.xml"
rm -f "/usr/share/gnome-background-properties/redmoon.xml"
fi
# Check if the directory is empty and remove it if it is
Expand Down

0 comments on commit 15ca466

Please sign in to comment.