1
0
Fork 0
mirror of synced 2024-11-22 10:05:37 -05:00

move nohang and some udev rules to performance-tweaks

This commit is contained in:
librewish 2021-12-11 22:29:14 +05:30
parent afdbf32ce5
commit 0e9dee7bcc
6 changed files with 1 additions and 17 deletions

View file

@ -2,7 +2,7 @@
# Maintainer: Librewish <librewish@gmail.com> # Maintainer: Librewish <librewish@gmail.com>
pkgname=garuda-common-settings pkgname=garuda-common-settings
pkgver=2.4.3 pkgver=2.4.4
pkgrel=1 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"
@ -18,7 +18,6 @@ depends=('btrfsmaintenance'
'garuda-migrations' 'garuda-migrations'
'garuda-update' 'garuda-update'
'garuda-wallpapers' 'garuda-wallpapers'
'nohang'
'profile-sync-daemon' 'profile-sync-daemon'
'zram-generator') 'zram-generator')
optdepends=('performance-tweaks: Tuning for best performance' optdepends=('performance-tweaks: Tuning for best performance'

View file

@ -1 +0,0 @@
export GTK3_MODULES="${GTK3_MODULES:-}${GTK3_MODULES:+:}canberra-gtk-module"

View file

@ -1 +0,0 @@
export QT_LINUX_ACCESSIBILITY_ALWAYS_ON=1

View file

@ -4,16 +4,11 @@ post_install() {
systemctl enable btrfs-scrub.timer systemctl enable btrfs-scrub.timer
systemctl enable btrfs-trim.timer systemctl enable btrfs-trim.timer
systemctl enable garuda-pacman-lock systemctl enable garuda-pacman-lock
systemctl enable nohang-desktop
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() {
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

View file

@ -1,2 +0,0 @@
# SATA Active Link Power Management
ACTION=="add", SUBSYSTEM=="scsi_host", KERNEL=="host*", ATTR{link_power_management_policy}="max_performance"

View file

@ -1,6 +0,0 @@
# set scheduler for NVMe
ACTION=="add|change", KERNEL=="nvme[0-9]n[0-9]", ATTR{queue/scheduler}="none"
# set scheduler for SSD and eMMC
ACTION=="add|change", KERNEL=="sd[a-z]|mmcblk[0-9]*", ATTR{queue/rotational}=="0", ATTR{queue/scheduler}="bfq"
# set scheduler for rotating disks
ACTION=="add|change", KERNEL=="sd[a-z]", ATTR{queue/rotational}=="1", ATTR{queue/scheduler}="bfq"