improve getAnyConfigValue documentation

This commit is contained in:
Undeadamien 2026-04-12 22:23:44 +02:00
parent 5e38fce1b4
commit d1cf66ce14

View file

@ -411,6 +411,12 @@ namespace Hyprlang {
/*!
Get a basic or special config value's stored value. Empty on fail.
Syntax:
- `name` -> `general:gaps_out`
- `category[key]:name` -> `windowrule[name]:enable`
\note Prefer `getConfigValuePtr` or `getSpecialConfigValuePtr` to avoid unnecessary lookup and parsing.
*/
std::any getAnyConfigValue(const char* name);