-
-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
xcursor implent inheriting themes #7197
Conversation
add a few functions such as setCursorBuffer and setAnimationTimer to reduce duplicated code and also avoid future mishaps of forgetting to clear buffer or disarm timer. and generally reduce spaghetti even tho pasta can be delicious.
ok found a bug, investigating. hold it. |
done :p was regarding env vars and reloading config from hypr to xcursors. |
do you know jeremy clarkson |
this either bodes well or bad. "Sometimes My Genius Is Almost Frightening" |
clang-format fail? |
yeah im not sure how to fix that. lol im apparently newer versioned again then arch and the fail isnt telling me how it wants it >_<. im soon setting up a clang-format virtual machine on arch lol |
nvm i have an idea, push coming shortly. |
implent index.theme parsing and inherited themes.
ensure a xcursor fallback exist otherwise it wont load the proper theme if we at launch have hyprcursor enabled and then set it to false in config and reload. also use the env var when using hyprctl setcursor incase its empty.
i went around moved things in CCursorManager added config checks a bit more so now it doesnt allocate memory etc depending on the config choice, reduced a bit of duplicated code, moved those into functions. and fixed a bit of inconsistencies when using
hyperctl setcursor
depending on hyprcursor theme/xcursor theme not found.XCursorManager now supports Inherits from index.theme
also when testing i noticed asan reports a leak with hyprcursor, went back in commit history a bit and its been around for quite some time so its not something i introduced it seems. this technically means xcursor is now done? i think.
so as before im here for judgement. i could technically drop the CCursorManager changes too and only go with the XCursorManager inherits change heh.