From 0ffae9069e12be7402fc24346673d6cfc9265404 Mon Sep 17 00:00:00 2001
From: Hendrik Seliger <github@hseliger.eu>
Date: Mon, 29 Aug 2022 08:56:45 +0200
Subject: [PATCH] Wayland compile/install instructions

---
 README.md | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/README.md b/README.md
index baf79fc..14b1234 100644
--- a/README.md
+++ b/README.md
@@ -45,7 +45,9 @@ ___
 
 Visit the [official documentation](https://espanso.org/docs/).
 
-## Wayland support
+## Provisional Wayland support
+
+This branch has provisional support for Wayland, albeit **only under Fedora 36 using Gnome**.
 
 Please look at the documentation for details. Application specific filters
 (filter_title, filter_class, filter_exec) currently only work und Wayland with Gnome
@@ -53,6 +55,9 @@ version 41. In addition, a Gnome shell extension
 (https://extensions.gnome.org/extension/4974/window-calls-extended/)
 is required! Without this extension, espanso has no access to active window information.
 
+* Compile espanso with `cargo make --profile release --env NO_X11=true build-binary`
+* User must be member of group `input`
+* Espanso must be given capability (SELinux) to access /dev/input. So install with `sudo cp ~/src/espanso/target/release/espanso /usr/local/bin ; sudo setcap "cap_dac_override+p" $(which espanso)`
 
 ## Support