View Single Post
Old 06-17-2016, 02:59 AM   #12
encol
Evangelist
encol ought to be getting tired of karma fortunes by now.encol ought to be getting tired of karma fortunes by now.encol ought to be getting tired of karma fortunes by now.encol ought to be getting tired of karma fortunes by now.encol ought to be getting tired of karma fortunes by now.encol ought to be getting tired of karma fortunes by now.encol ought to be getting tired of karma fortunes by now.encol ought to be getting tired of karma fortunes by now.encol ought to be getting tired of karma fortunes by now.encol ought to be getting tired of karma fortunes by now.encol ought to be getting tired of karma fortunes by now.
 
Posts: 416
Karma: 765432
Join Date: Apr 2016
Location: Italy
Device: Kindle PW3 5.8.5.0.1
Quote:
Originally Posted by geekmaster View Post
I have been trying to figure out how to update icons on the titlebar, but in the meantime I simplified the command to update the title text. If you select the primary title, you do not need that last parameter that says to NOT use the primary title, like this:
PHP Code:
lipc-set-prop com.lab126.chromebar configureChrome '{"titleBar":{"clientParams":{"primary":"Hello \u2708"}}}' 
And as you can see, there is a UTF-8 airplane character in the title. Not the same as airplane mode, but there are lots of useful UTF-8 icon characters. That is a start...

Here are some more: http://csbruce.com/software/utf-8.html
Thanks, this work fine!

I'm investigating about icons too, it seems we have to do some javascript, or edit the default_status_bar.html in the /usr/share/webkit-1.0/pillow folder

EDIT:

Quote:
Originally Posted by encol View Post
Ixtab's method (updated):
PHP Code:
lipc-set-prop com.lab126.chromebar configureChrome '{"appId":"com.lab126.booklet.home","titleBar":{"clientParams":{"secondary":"Hello World","useDefaultPrimary":false}}}' 

this doesn't work for me (nothing happens), but:
i was wrong, it worked, but i was in the wrong place (i was in the reader booklet): this method depends from the current booklet, my bad

Last edited by encol; 06-17-2016 at 03:04 AM.
encol is offline   Reply With Quote