Hyprload manifest

This commit is contained in:
Stanisław Zagórowski 2023-04-06 14:14:04 +02:00
parent 673c9e995a
commit bb63f673d0
2 changed files with 12 additions and 2 deletions

10
hyprload.toml Normal file
View File

@ -0,0 +1,10 @@
[example]
description = "Example plugin"
version = "1.0.0"
author = "YOU"
[example.build]
output = "example.so"
steps = [
"make all",
]

View File

@ -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");
}
}