summarylogtreecommitdiffstats
path: root/kwinft.install
diff options
context:
space:
mode:
authorChristoph Haag2020-04-16 01:40:32 +0200
committerChristoph Haag2020-04-16 01:41:41 +0200
commit7589e8bad6f5162303cb261e8b2ecb286d2ebece (patch)
tree1da1ee1fe0b1ac2f655fac8a8476d751dbaffdbb /kwinft.install
downloadaur-7589e8bad6f5162303cb261e8b2ecb286d2ebece.tar.gz
initial commit
Diffstat (limited to 'kwinft.install')
-rw-r--r--kwinft.install8
1 files changed, 8 insertions, 0 deletions
diff --git a/kwinft.install b/kwinft.install
new file mode 100644
index 000000000000..5d249b2f744e
--- /dev/null
+++ b/kwinft.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
+}