mirror of
https://gitlab.com/slonkazoid/pkgbuild-sway-slonk-git.git
synced 2024-10-18 10:42:30 +03:00
Grant CAP_SYS_NICE to the sway binary
This commit is contained in:
parent
2461b29b89
commit
ad76ad41fc
2 changed files with 9 additions and 1 deletions
3
PKGBUILD
3
PKGBUILD
|
@ -2,7 +2,7 @@
|
||||||
# Contributor: Antonin Décimo <antonin dot decimo at gmail dot com>
|
# Contributor: Antonin Décimo <antonin dot decimo at gmail dot com>
|
||||||
pkgname=sway-git
|
pkgname=sway-git
|
||||||
_pkgname=sway
|
_pkgname=sway
|
||||||
pkgver=r6891.3dffe7f3
|
pkgver=r6934.251a648e
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
license=("MIT")
|
license=("MIT")
|
||||||
pkgdesc="Tiling Wayland compositor and replacement for the i3 window manager"
|
pkgdesc="Tiling Wayland compositor and replacement for the i3 window manager"
|
||||||
|
@ -46,6 +46,7 @@ sha512sums=('SKIP'
|
||||||
provides=("sway")
|
provides=("sway")
|
||||||
conflicts=("sway")
|
conflicts=("sway")
|
||||||
options=(debug)
|
options=(debug)
|
||||||
|
install=sway.install
|
||||||
|
|
||||||
pkgver() {
|
pkgver() {
|
||||||
cd "$_pkgname"
|
cd "$_pkgname"
|
||||||
|
|
7
sway.install
Normal file
7
sway.install
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
post_install() {
|
||||||
|
post_upgrade
|
||||||
|
}
|
||||||
|
|
||||||
|
post_upgrade() {
|
||||||
|
setcap cap_sys_nice+eip usr/bin/sway
|
||||||
|
}
|
Loading…
Reference in a new issue