Thanks for the encouragement!
I'm wondering, is there documentation for how to target things in Kobo files? For instance, I can infer from
Code:
- FindZlib: "#row1col2"
that there is a grid with at least 2 columns, and from
Code:
Replace: "#row1col2 {\n qproperty-visible: false;\n}\n#row2 {\n qproperty-visible: false;\n}"
that the grid also has at least 3 rows. Is everything I've been requesting in "#row1col2"? I am befuddled because I'm not sure why targeting the third row would be "#row1col2" but later in the file it reads "\n#row3". Does that mean all the row-targeting actually happens at "\n#row3"? E.g., "\n#row2"?
With that in mind, I'm also wondering what one patch would look like. Based on the above, I'm guessing something like
Code:
Remove footer (row3) and My Books (row2) on home screen:
- Enabled: yes
- PatchGroup: Home screen visibility tweaks
- FindZlib: "#row1col2"
- ReplaceZlib:
Find: "#row1col2 {\n qproperty-visible: false;\n}"
Replace: "#row1col2 {\n qproperty-visible: false;\n}\n#row3 {\n qproperty-visible: false;\n}"
Replace: "#row1col2 {\n qproperty-visible: false;\n}\n#row2 {\n qproperty-visible: false;\n}"
I'm happy to mess around and see what works, I'm just curious if there is documentation.
Thanks!