From 2b77bb7f538b575360aa7604c43a977d92f36837 Mon Sep 17 00:00:00 2001 From: librewish Date: Fri, 24 Sep 2021 11:03:42 +0530 Subject: [PATCH] enable ananicy-cpp and update pacman files in update command --- PKGBUILD | 7 ++++--- garuda-common-settings.install | 2 ++ usr/bin/update | 10 ++++++++++ 3 files changed, 16 insertions(+), 3 deletions(-) diff --git a/PKGBUILD b/PKGBUILD index 4b20ae5..3231907 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -2,7 +2,7 @@ # Maintainer: Librewish pkgname=garuda-common-settings -pkgver=2.1.1 +pkgver=2.1.2 pkgrel=1 arch=('any') url="https://gitlab.com/garuda-linux/themes-and-settings/settings/$pkgname" @@ -14,6 +14,8 @@ depends=('btrfsmaintenance' 'garuda-browser-settings' 'garuda-hooks' 'garuda-icons' + 'ananicy-cpp' + 'ananicy-rules-git' 'haveged' 'memavaild' 'nohang' @@ -22,8 +24,7 @@ depends=('btrfsmaintenance' 'profile-sync-daemon' 'zram-generator' 'garuda-bash-config') -optdepends=('ananicy-cpp: Automatically set nice levels for apps' - 'irqbalance: Better distribute load between CPUs' +optdepends=('irqbalance: Better distribute load between CPUs' 'performance-tweaks: Tuning for best performance' 'powersave-tweaks: Tuning for lower power usage' 'uresourced: Allocate more ressources for the graphical user') diff --git a/garuda-common-settings.install b/garuda-common-settings.install index f6a89d7..c1ef1f0 100644 --- a/garuda-common-settings.install +++ b/garuda-common-settings.install @@ -4,6 +4,7 @@ post_install() { systemctl enable btrfs-scrub.timer systemctl enable btrfs-trim.timer systemctl enable garuda-pacman-lock + systemctl enable ananicy-cpp systemctl enable haveged systemctl enable memavaild systemctl enable nohang-desktop @@ -21,6 +22,7 @@ post_upgrade() { systemctl enable btrfs-scrub.timer systemctl enable btrfs-trim.timer systemctl enable garuda-pacman-lock + systemctl enable ananicy-cpp systemctl enable haveged systemctl enable memavaild systemctl enable nohang-desktop diff --git a/usr/bin/update b/usr/bin/update index 7deea9b..9c24225 100755 --- a/usr/bin/update +++ b/usr/bin/update @@ -28,6 +28,16 @@ if [ -x /usr/bin/reflector ]; then sudo reflector --latest 5 --age 2 --fastest 5 --protocol https --sort rate --save /etc/pacman.d/mirrorlist && cat /etc/pacman.d/mirrorlist || { echo -e "\033[1;31m\nFailed to update mirrorlist\n\033[0m"; } fi +echo "" + +# Update pacman Files database +echo "Checking pacman files database update.." +sudo pacman -Fy + +echo "" +echo "pacman files database updated!" +echo "" + # Check for keyring update & update as needed echo "Checking for keyring update before starting full system update.." if pacman -Qq blackarch-keyring &> /dev/null; then