Set CAP_SYS_NICE on kwin_wayland

Resolves #224
This commit is contained in:
Nate Graham
2025-08-05 19:58:13 -06:00
parent 64af49d499
commit aaf7eaab85

View File

@@ -102,6 +102,10 @@ rm -rf /usr/share/xsessions/
## Replace Falkon with Firefox as the default browser, since that's what we pre-install.
sed -i 's/org.kde.falkon.desktop/org.mozilla.firefox.desktop/' /usr/share/applications/kde-mimeapps.list
# Give KWin phenomenal cosmic power so it can do its job better; see
# https://community.kde.org/Distributions/Packaging_Recommendations#KWin_package_configuration
setcap 'cap_sys_nice=+ep' /usr/bin/kwin_wayland
# Clean up final remnants of the build process
rm -rf \
/buildroot \