summaryrefslogtreecommitdiff
path: root/x11-wm/mangowc/files
diff options
context:
space:
mode:
Diffstat (limited to 'x11-wm/mangowc/files')
-rw-r--r--x11-wm/mangowc/files/patch-src_mango.c14
-rw-r--r--x11-wm/mangowc/files/pkg-message.in20
2 files changed, 34 insertions, 0 deletions
diff --git a/x11-wm/mangowc/files/patch-src_mango.c b/x11-wm/mangowc/files/patch-src_mango.c
new file mode 100644
index 000000000000..3c03410bec14
--- /dev/null
+++ b/x11-wm/mangowc/files/patch-src_mango.c
@@ -0,0 +1,14 @@
+--- src/mango.c.orig 2025-12-03 10:15:56 UTC
++++ src/mango.c
+@@ -6,7 +6,11 @@
+ #include <getopt.h>
+ #include <libinput.h>
+ #include <limits.h>
++#ifdef __FreeBSD__
++#include <dev/evdev/input-event-codes.h>
++#else
+ #include <linux/input-event-codes.h>
++#endif
+ #include <scenefx/render/fx_renderer/fx_renderer.h>
+ #include <scenefx/types/fx/blur_data.h>
+ #include <scenefx/types/fx/clipped_region.h>
diff --git a/x11-wm/mangowc/files/pkg-message.in b/x11-wm/mangowc/files/pkg-message.in
new file mode 100644
index 000000000000..4fc2cdddbd53
--- /dev/null
+++ b/x11-wm/mangowc/files/pkg-message.in
@@ -0,0 +1,20 @@
+[
+{ type: install
+ message: <<EOM
+Before using MangoWC run the following commands as user:
+
+ mkdir -p ~/.config/mangowc
+ cp %%PREFIX%%/etc/mango/config.conf ~/.config/mangowc/
+
+then customize that file, in particular the variable
+
+ xkb_rules_layout
+
+and the keyboard shortcut to launch a terminal
+
+ bind=Alt,Return,spawn,foot
+
+(replace foot with your preferred terminal emulator).
+EOM
+}
+]