– automatic change of setup / layout –

– automatic change of setup / layout –

I have the following question: I like light screens with white background(s) but during evening this is not really comfortable and a dark setup would be more convenient for the eyes…

is there a (easy) possibility to change this automatically “from white to black”?

I have the wallpaper as well as my zooper widget in both variants available…

]]>

10 Commentsto – automatic change of setup / layout –

  1. Anonymous says:

    < ![CDATA[

    Pierre Hébert​ where is the value for the theme stored?

    ]]>

  2. Anonymous says:

    < ![CDATA[

    In the global configuration file (name “config”) in a field called “appStyle”. Possible values are DARK and LIGHT.

    ]]>

  3. Anonymous says:

    < ![CDATA[

    Heiko G it is possible to script this. I’ll try that soon.

    ]]>

  4. Anonymous says:

    < ![CDATA[

    wow, THX a lot in advance!!!

    ]]>

  5. Anonymous says:

    < ![CDATA[

    Pierre Hébert as it seems to me the field is either DARK or not set at all.

    ]]>

  6. Anonymous says:

    < ![CDATA[

    Heiko G And here it is! Restarts the launcher in the process.

    ]]>

  7. Anonymous says:

    < ![CDATA[

    LL.bindClass(“java.io.FileReader”);


    LL.bindClass(“java.io.BufferedReader”);


    LL.bindClass(“java.io.FileWriter”);


    LL.bindClass(“java.io.File”);


    LL.bindClass(“java.lang.System”);



    var file=new File(“data/data/net.pierrox.lightning_launcher_extreme/files/config”);//this file contains properties


    var r=new BufferedReader(new FileReader(file));


    var s=””;


    var l;


    while((l=r.readLine())!=null)s+=l;


    var data=JSON.parse(s);


    data.appStyle=data.appStyle==”DARK”?”LIGHT”:”DARK”;


    var w=new FileWriter(file);


    w.write(JSON.stringify(data));


    w.flush();


    w.close();



    System.runFinalization();


    System.exit(0);

    ]]>

  8. Anonymous says:

    < ![CDATA[

    I have stored my layouts into backups as well as into templates,


    do I have to take these instead of DARK and LIGHT?

    ]]>

  9. Anonymous says:

    < ![CDATA[

    As a first version, this only changes the theme of LL itself, so the settings. Sadly you can’t apply backups or templates automatically, so I’ll have to find a way around this.

    ]]>

  10. Anonymous says:

    < ![CDATA[

    first of all I will save my setup to themes and see what happens, I will come back to you on the weekend 😉

    ]]>

Leave a Reply

Your email address will not be published. Required fields are marked *