mirror of
https://github.com/hyprwm/hyprcursor.git
synced 2025-01-03 07:09:49 +01:00
stuf
This commit is contained in:
parent
f8de2a65db
commit
3d3e8ad1e6
3 changed files with 10 additions and 9 deletions
|
@ -781,6 +781,7 @@ std::optional<std::string> CHyprcursorImplementation::loadTheme() {
|
|||
SHAPE->directory = cursor.path().stem().string();
|
||||
SHAPE->hotspotX = meta.parsedData.hotspotX;
|
||||
SHAPE->hotspotY = meta.parsedData.hotspotY;
|
||||
SHAPE->nominalSize = meta.parsedData.nominalSize;
|
||||
SHAPE->resizeAlgo = stringToAlgo(meta.parsedData.resizeAlgo);
|
||||
|
||||
zip_discard(zip);
|
||||
|
|
|
@ -154,7 +154,7 @@ std::optional<std::string> CMeta::parseHL() {
|
|||
|
||||
parsedData.hotspotX = std::any_cast<Hyprlang::FLOAT>(meta->getConfigValue("hotspot_x"));
|
||||
parsedData.hotspotY = std::any_cast<Hyprlang::FLOAT>(meta->getConfigValue("hotspot_y"));
|
||||
parsedData.hotspotY = std::any_cast<Hyprlang::FLOAT>(meta->getConfigValue("nominal_size"));
|
||||
parsedData.nominalSize = std::any_cast<Hyprlang::FLOAT>(meta->getConfigValue("nominal_size"));
|
||||
parsedData.resizeAlgo = std::any_cast<Hyprlang::STRING>(meta->getConfigValue("resize_algorithm"));
|
||||
|
||||
return {};
|
||||
|
|
|
@ -17,7 +17,7 @@ int main(int argc, char** argv) {
|
|||
/*
|
||||
Create a manager. You can optionally pass a logger function.
|
||||
*/
|
||||
Hyprcursor::CHyprcursorManager mgr(nullptr, logFunction);
|
||||
Hyprcursor::CHyprcursorManager mgr("HyprBibataModernClassicSVG", logFunction);
|
||||
|
||||
/*
|
||||
Manager could be invalid if no themes were found, or
|
||||
|
|
Loading…
Reference in a new issue