summarylogtreecommitdiffstats
path: root/sway.install
diff options
context:
space:
mode:
authorAntonin Décimo2022-06-02 13:57:53 +0200
committerAntonin Décimo2022-06-02 13:57:53 +0200
commitad76ad41fc8941b08e1fdf6111acca712cf62155 (patch)
tree760de872f467d665f9c490f9f35c0ed0ca4cb67c /sway.install
parent2461b29b8978aee2e2439b4fcf93557cc3fe9745 (diff)
downloadaur-ad76ad41fc8941b08e1fdf6111acca712cf62155.tar.gz
Grant CAP_SYS_NICE to the sway binary
Diffstat (limited to 'sway.install')
-rw-r--r--sway.install7
1 files changed, 7 insertions, 0 deletions
diff --git a/sway.install b/sway.install
new file mode 100644
index 000000000000..824ed4c04a9b
--- /dev/null
+++ b/sway.install
@@ -0,0 +1,7 @@
+post_install() {
+ post_upgrade
+}
+
+post_upgrade() {
+ setcap cap_sys_nice+eip usr/bin/sway
+}