Hyprlang
A fast and user-friendly configuration language
Loading...
Searching...
No Matches
Hyprlang::SSpecialCategoryOptions Struct Reference

#include <hyprlang.hpp>

Public Attributes

const char * key = nullptr
 
int ignoreMissing = false
 
int anonymousKeyBased = false
 
int __internal_struct_end = HYPRLANG_END_MAGIC
 

Detailed Description

Generic struct for options for special categories

Member Data Documentation

◆ __internal_struct_end

int Hyprlang::SSpecialCategoryOptions::__internal_struct_end = HYPRLANG_END_MAGIC

◆ anonymousKeyBased

int Hyprlang::SSpecialCategoryOptions::anonymousKeyBased = false

Make this category an anonymous special one. key has to be nullptr.

Anonymous special categories behave like key-based ones, but the keys will be automatically assigned without user input.

Since
0.4.0

◆ ignoreMissing

int Hyprlang::SSpecialCategoryOptions::ignoreMissing = false

don't pop up an error if the config value is missing

◆ key

const char* Hyprlang::SSpecialCategoryOptions::key = nullptr

a key is the name of a value that will be the identifier of a special category can be left null for no key, aka a generic one keys are always strings. Default key value is "0"


The documentation for this struct was generated from the following file: