Quote:
Originally Posted by BenChen
Could you share your custom patch? It would be good to see it, and then maybe work out my own custom patch.
|
Here it is. It's a nickel.yaml patch:
Spoiler:
Code:
jackie_w Screensaver full:
- Enabled: no
- Description: |
On fullscreen sleep screensaver reduce size of infoWidget
Make infoWidget invisible when Sleeping, visible when Powered Off
N.B: Not suitable for Japanese/Chinese locale users
- FindZlib: "#infoFrame"
- ReplaceZlibGroup:
Replacements:
# free some space
- {Find: "#batteryStatus[localeName=\"ja\"] {\n font-family: Sans-SerifJP, sans-serif;\n font-style: normal;\n}\n#batteryStatus[localeName=\"zh\"] {\n font-family: Sans-SerifZH-Traditional, sans-serif;\n font-style: normal;\n}\n#batteryStatus[localeName=\"zh-TW\"] {\n font-family: Sans-SerifZH-Traditional, sans-serif;\n font-style: normal;\n}\n", Replace: "\n"}
# #infoWidget reduce width
- {Find: "width: 470px;", Replace: "width: 320px;"} #Dragon
- {Find: "width: 611px;", Replace: "width: 390px;"} #Daylight
# #infoWidget, #infoFrame: reduce top/bottom/right margins
- {Find: "Margin: 22px;", Replace: "Margin: 5px;"} #Dragon
- {Find: "Margin: 28px;", Replace: "Margin: 7px;"} #Daylight
# #infoFrame: remove Sleeping borders
- {Find: "#infoFrame {\n border-top: 1px solid black;\n border-bottom: 1px solid black;\n border-right: 1px solid black;\n}\n", Replace: "\n"}
# #infoFrame: reduce left margin
- {Find: "leftMargin: 44px;", Replace: "leftMargin: 5px;"} # Dragon
- {Find: "leftMargin: 56px;", Replace: "leftMargin: 7px;"} # Daylight
# #infoWidget size reduced to zero when Sleeping
- Find: "#batteryStatus {\n font-family: Georgia;\n}"
Replace: "#infoWidget[powerOffView=false] {\n min-width:0px; max-width:0px;\n min-height:0px; max-height:0px;\n qproperty-topMargin:0px; qproperty-bottomMargin:0px;\n qproperty-leftMargin:0px; qproperty-rightMargin:0px;\n}\n#batteryStatus {\n font-family: Avenir;\n}"
Please note I've only patched values for Dragon/Daylight Kobo models. But it looks like you have a GloHD (which uses Dragon values for this particular patch) so it should be OK for you.