From 734280f3042a1b2d08764599d1decdee2d4d3132 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Sun, 24 Nov 2024 18:25:58 +0100 Subject: Use linux /dev/input for global hotkeys instead of x11. This also works on wayland on any compositor --- meson_post_install.sh | 4 ++++ 1 file changed, 4 insertions(+) create mode 100755 meson_post_install.sh (limited to 'meson_post_install.sh') diff --git a/meson_post_install.sh b/meson_post_install.sh new file mode 100755 index 0000000..ad57569 --- /dev/null +++ b/meson_post_install.sh @@ -0,0 +1,4 @@ +#!/bin/sh + +/usr/sbin/setcap cap_sys_admin+ep ${MESON_INSTALL_DESTDIR_PREFIX}/bin/gsr-global-hotkeys \ + || echo "\n!!! Please re-run install as root\n" \ No newline at end of file -- cgit v1.2.3-70-g09d2