move nohang and some udev rules to performance-tweaks
This commit is contained in:
parent
afdbf32ce5
commit
0e9dee7bcc
6 changed files with 1 additions and 17 deletions
3
PKGBUILD
3
PKGBUILD
|
@ -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'
|
||||||
|
|
|
@ -1 +0,0 @@
|
||||||
export GTK3_MODULES="${GTK3_MODULES:-}${GTK3_MODULES:+:}canberra-gtk-module"
|
|
|
@ -1 +0,0 @@
|
||||||
export QT_LINUX_ACCESSIBILITY_ALWAYS_ON=1
|
|
|
@ -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
|
||||||
|
|
|
@ -1,2 +0,0 @@
|
||||||
# SATA Active Link Power Management
|
|
||||||
ACTION=="add", SUBSYSTEM=="scsi_host", KERNEL=="host*", ATTR{link_power_management_policy}="max_performance"
|
|
|
@ -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"
|
|
Loading…
Reference in a new issue