summarylogtreecommitdiffstats
path: root/kwin-unredirect.install
diff options
context:
space:
mode:
authorCabopust2021-02-25 16:17:30 +0300
committerCabopust2021-02-25 16:17:30 +0300
commit423b21ad2e1ae10a4bce2bbd239e36eb60bc41a2 (patch)
treefacedf4bb358bc77cddd22f4ba76e09d0d17b6c1 /kwin-unredirect.install
downloadaur-423b21ad2e1ae10a4bce2bbd239e36eb60bc41a2.tar.gz
Initial push
Diffstat (limited to 'kwin-unredirect.install')
-rw-r--r--kwin-unredirect.install8
1 files changed, 8 insertions, 0 deletions
diff --git a/kwin-unredirect.install b/kwin-unredirect.install
new file mode 100644
index 000000000000..5d249b2f744e
--- /dev/null
+++ b/kwin-unredirect.install
@@ -0,0 +1,8 @@
+post_install() {
+# this is executed by make install, but doesn't work since setcap can only be run as root
+ setcap CAP_SYS_NICE=+ep /usr/bin/kwin_wayland
+}
+
+post_upgrade() {
+ post_install
+}