diff options
author | dec05eba <dec05eba@protonmail.com> | 2024-11-24 18:25:58 +0100 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2024-11-24 18:33:57 +0100 |
commit | 734280f3042a1b2d08764599d1decdee2d4d3132 (patch) | |
tree | 4f72eb3aee2f8a98c05e4554f137f6e296fb2018 /meson_post_install.sh | |
parent | 56a7e558d290d168a906dba984f5051c1e327712 (diff) |
Use linux /dev/input for global hotkeys instead of x11. This also works on wayland on any compositor
Diffstat (limited to 'meson_post_install.sh')
-rwxr-xr-x | meson_post_install.sh | 4 |
1 files changed, 4 insertions, 0 deletions
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 |