5 Commits (97338959f20c19fe15e58e77da823db693f659ff)

Author SHA1 Message Date
Brett Cornwall 13aac3dad4 Add CAP_SYS_NICE to sway binary
Support for sway to set SCHED_RR was added to improve desktop
responsiveness/stuttering [1]. Upstream advises setting the capability on the
binary [2].

Fixes FS#77225

[1] https://github.com/swaywm/sway/pull/6994
[2] https://github.com/swaywm/sway/pull/6992#pullrequestreview-972760643
2 years ago
Brett Cornwall 50a27592c5 Add post_install() for the new seatd/polkit reqs 3 years ago
Brett Cornwall 4c3aa92608 Replace polkit with seatd dependency
Since seatd has become a requirement for sway's logind support, we can leverage
this package to also obtain elevated system privileges instead of polkit.

Note that using seatd instead of polkit means that a user must be a part of the
"seat" group: Otherwise, the user will not be able to achieve the appropriate
privileged actions.

Also remove a few unnecessary extra packages from the optdepends to give polkit
a bit more visibility.
3 years ago
Alexander Rødseth 8605b19fae upgpkg: 1.0-5 6 years ago
Jerome Leclanche 91e06c05f3 Rebuild for setcap [sway-security] 8 years ago