aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJosh Rahm <joshuarahm@gmail.com>2024-02-11 23:57:48 -0700
committerJosh Rahm <joshuarahm@gmail.com>2024-02-11 23:57:48 -0700
commitdcf08c3d8960d18e3943645b58732f9c27a10ec0 (patch)
treeff0abc3d035a539043280362c4327fd7ea9c70e0 /src
parent33197faf9b626acb6c2815786e6caa316df64a33 (diff)
downloadwetterhorn-dcf08c3d8960d18e3943645b58732f9c27a10ec0.tar.gz
wetterhorn-dcf08c3d8960d18e3943645b58732f9c27a10ec0.tar.bz2
wetterhorn-dcf08c3d8960d18e3943645b58732f9c27a10ec0.zip
Change the message a bit when running wtr.so directly.
Diffstat (limited to 'src')
-rw-r--r--src/harness_adapter.c15
1 files changed, 8 insertions, 7 deletions
diff --git a/src/harness_adapter.c b/src/harness_adapter.c
index 6ae8c66..3223251 100644
--- a/src/harness_adapter.c
+++ b/src/harness_adapter.c
@@ -12,13 +12,14 @@ const char *plugin_name = "Wetterhorn";
void plugin_load(int argc, char **argv) { hs_init(&argc, &argv); }
void plugin_teardown(opqst_t st) { hs_exit(); }
-const char msg[] =
- "Wetterhorn Plugin v 0.01\n"
- " This is a mere shared object file, meant to be a plugin for the "
- "Wetterhorn"
- " Compositor. To use this, please run 'wtr_harness -p [this_file]' to"
- " use this plugin.\n";
-const int msg_sz = sizeof(msg);
+static const char msg[] =
+ "Wetterhorn Plugin v 0.01\n\n"
+ "Welcome, and thank you for your interest.\n\n"
+ "This is merely a plugin to the Wetterhorn Compositor and not meant to be\n"
+ "executed as a standalone binary. This plugin requires a harness to run\n"
+ "To use this file, please use './wtr_harness [full-path-to-wtr.so]'\n"
+ "That will allow you to see how this compositor works in all its glory!\n";
+static const int msg_sz = sizeof(msg);
__attribute__((naked)) void _start() {