Replace .install gsettings logic with a message indicating the command to
run We can't touch user settings from pacman and that makes sense.
This commit is contained in:
parent
4456fbcd19
commit
15156e954a
3 changed files with 3 additions and 8 deletions
2
.SRCINFO
2
.SRCINFO
|
@ -1,7 +1,7 @@
|
|||
pkgbase = gnome-shell-performance
|
||||
pkgdesc = Next generation desktop shell | Attempt to improve the performance by non-upstreamed patches
|
||||
pkgver = 3.32.1+10+g059c729da
|
||||
pkgrel = 7
|
||||
pkgrel = 8
|
||||
url = https://wiki.gnome.org/Projects/GnomeShell
|
||||
install = gnome-shell-performance.install
|
||||
arch = x86_64
|
||||
|
|
2
PKGBUILD
2
PKGBUILD
|
@ -5,7 +5,7 @@
|
|||
|
||||
pkgname=gnome-shell-performance
|
||||
pkgver=3.32.1+10+g059c729da
|
||||
pkgrel=7
|
||||
pkgrel=8
|
||||
pkgdesc="Next generation desktop shell | Attempt to improve the performance by non-upstreamed patches"
|
||||
url="https://wiki.gnome.org/Projects/GnomeShell"
|
||||
arch=(x86_64)
|
||||
|
|
|
@ -1,11 +1,6 @@
|
|||
post_install() {
|
||||
setcap CAP_SYS_NICE=+ep usr/bin/gnome-shell
|
||||
|
||||
exp_fea=$(gsettings get org.gnome.mutter experimental-features)
|
||||
if ! echo exp_fea | grep -q "rt-scheduler"; then
|
||||
echo "Updating mutter experimental-features gsetting to enable RT scheduling on Wayland..."
|
||||
gsettings set org.gnome.mutter experimental-features "[${exp_fea:1:-1}, 'rt-scheduler']"
|
||||
fi
|
||||
echo "To have real-time scheduling on Wayland, run `settings set org.gnome.mutter experimental-features "['rt-scheduler']"`
|
||||
}
|
||||
|
||||
post_upgrade() {
|
||||
|
|
Loading…
Reference in a new issue