From bb63f673d0a03618069de2281fe56b2edbaff1ac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stanis=C5=82aw=20Zag=C3=B3rowski?= Date: Thu, 6 Apr 2023 14:14:04 +0200 Subject: [PATCH] Hyprload manifest --- hyprload.toml | 10 ++++++++++ src/main.cpp | 4 ++-- 2 files changed, 12 insertions(+), 2 deletions(-) create mode 100644 hyprload.toml diff --git a/hyprload.toml b/hyprload.toml new file mode 100644 index 0000000..2c925a7 --- /dev/null +++ b/hyprload.toml @@ -0,0 +1,10 @@ +[example] +description = "Example plugin" +version = "1.0.0" +author = "YOU" + +[example.build] +output = "example.so" +steps = [ + "make all", +] diff --git a/src/main.cpp b/src/main.cpp index ef829ae..5e76542 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -87,9 +87,9 @@ APICALL EXPORT PLUGIN_DESCRIPTION_INFO PLUGIN_INIT(HANDLE handle) { HyprlandAPI::reloadConfig(); - return {"ExamplePlugin", "An example plugin", "Vaxry", "1.0"}; + return {"example", "An example plugin", "YOU", "1.0"}; } APICALL EXPORT void PLUGIN_EXIT() { HyprlandAPI::invokeHyprctlCommand("seterror", "disable"); -} \ No newline at end of file +}