-
Notifications
You must be signed in to change notification settings - Fork 442
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
fix(zathura): update template to accomodate new format #642
base: main
Are you sure you want to change the base?
Conversation
fish.lua really did help with this
There has to be a better way of doing this
This took way too long to write and figure out how to do, I really hope this works
Code is at least in a working state, going to see if I can try to optimize it |
Lua implicitly converts the number to a string when interpolating, it's easier to read like this anyway
Nevermind, broke it again |
Alright, issue fixed, let me know if there's anything else that needs to be changed |
EDIT: Didn't see it was a local function, nevermind |
The code is significantly easier to read, easier to maintain, and generally much better looking with this change.
Unless some other file needs the ability to convert hex color codes to decimal, there isn't any need to move it to util.lua, keep the function at the lowest scope possible
This PR is stale because it has been open 30 days with no activity. |
Everything is ready to go, I've tested the code and gotten a successful build too. Would still say this is relevant. |
This PR is stale because it has been open 30 days with no activity. |
Description
This PR updates the zathurarc template to accommodate the new format for highlight-color and highlight-active-color.
Related Issue(s)
#641