remove timeshift related stuff and redundant stuff

This commit is contained in:
librewish 2021-09-12 18:58:59 +05:30
parent 0e2dae4812
commit 842bd97113
2 changed files with 5 additions and 8 deletions

View File

@ -2,8 +2,8 @@
# Maintainer: Librewish <librewish@gmail.com> # Maintainer: Librewish <librewish@gmail.com>
pkgname=garuda-common-settings pkgname=garuda-common-settings
pkgver=2.0.3 pkgver=2.0.4
pkgrel=2 pkgrel=1
arch=('any') arch=('any')
url="https://gitlab.com/garuda-linux/themes-and-settings/settings/$pkgname" url="https://gitlab.com/garuda-linux/themes-and-settings/settings/$pkgname"
license=('GPL') license=('GPL')
@ -22,7 +22,7 @@ depends=('btrfsmaintenance'
'profile-sync-daemon' 'profile-sync-daemon'
'zram-generator' 'zram-generator'
'garuda-bash-config') 'garuda-bash-config')
optdepends=('ananicy: Automatically set nice levels for apps' optdepends=('ananicy-cpp: Automatically set nice levels for apps'
'irqbalance: Better distribute load between CPUs' 'irqbalance: Better distribute load between CPUs'
'performance-tweaks: Tuning for best performance' 'performance-tweaks: Tuning for best performance'
'powersave-tweaks: Tuning for lower power usage' 'powersave-tweaks: Tuning for lower power usage'

View File

@ -3,14 +3,13 @@ post_install() {
systemctl enable btrfs-defrag.timer systemctl enable btrfs-defrag.timer
systemctl enable btrfs-scrub.timer systemctl enable btrfs-scrub.timer
systemctl enable btrfs-trim.timer systemctl enable btrfs-trim.timer
systemctl enable fstrim.timer
systemctl enable grub-btrfs.path
systemctl enable haveged systemctl enable haveged
systemctl enable memavaild systemctl enable memavaild
systemctl enable nohang-desktop systemctl enable nohang-desktop
systemctl enable preload systemctl enable preload
systemctl enable prelockd systemctl enable prelockd
systemctl --global enable psd systemctl --global enable psd
sed -i 's|zram_checking_enabled = False|zram_checking_enabled = True|g' /etc/nohang/nohang-desktop.conf
} }
post_upgrade() { post_upgrade() {
@ -19,15 +18,13 @@ post_upgrade() {
systemctl enable btrfs-defrag.timer systemctl enable btrfs-defrag.timer
systemctl enable btrfs-scrub.timer systemctl enable btrfs-scrub.timer
systemctl enable btrfs-trim.timer systemctl enable btrfs-trim.timer
systemctl enable fstrim.timer
systemctl enable grub-btrfs.path
systemctl enable haveged systemctl enable haveged
systemctl enable memavaild systemctl enable memavaild
systemctl enable nohang-desktop systemctl enable nohang-desktop
systemctl enable preload systemctl enable preload
systemctl enable prelockd systemctl enable prelockd
systemctl --global enable psd systemctl --global enable psd
sed -i 's|zram_checking_enabled = False|zram_checking_enabled = True|g' /etc/nohang/nohang-desktop.conf
echo "Performing misc postinstall operations..." echo "Performing misc postinstall operations..."
mkfontscale /usr/share/fonts/TTF /usr/share/fonts/OTF /usr/share/fonts/misc > /dev/null 2>&1 mkfontscale /usr/share/fonts/TTF /usr/share/fonts/OTF /usr/share/fonts/misc > /dev/null 2>&1
mkfontdir /usr/share/fonts/TTF /usr/share/fonts/OTF /usr/share/fonts/misc > /dev/null 2>&1 mkfontdir /usr/share/fonts/TTF /usr/share/fonts/OTF /usr/share/fonts/misc > /dev/null 2>&1