Thread
:
[Updated May 23] Conky 1.9.7 n900 edition
View Single Post
Mentalist Traceur
2010-10-28 , 07:19
Posts: 2,225 | Thanked: 3,822 times | Joined on Jun 2010 @ Florida
#
70
Oh, I just need to figure out how to find out if the keyboard is slid out or not from the shell (because if it is, you should by default be assumed to be in landscape mode, device orientation aside, and right now I can only poll the lower-level orientation itself). So far I figured the rest out.
I should have a basic sample .conf file with the if-then statement set up. Beyond that, just plug and play your stuff inside the if-then thing.
The only thing I'm currently worried about (because I haven't actually done this yet fully, I just have the if-then statement working) - is speed of updating. Because if the entire thing is in an if-then statement, and the if-then statement takes a dbus-send call, routes it though grep, and then through awk, then compares that you a string, and only THEN knows which bath of text to execute/display, that may be a ridiculously high-cpu process. And your trade of, I THINK, is if you put everything else inside the if/then statement, everything will only update as often as the dbus query is run. Which means you can't just run it once every minute (which would make portrait-landscape mode switching way too delayed anyway), because the stuff inside will update even less often.
Well, I'll post results tomorrow.
(As for auto config reloading - I didn't know it existed, because I never thought to look, but that sounds like a nice feature to experiment with too.)
Quote & Reply
|
Mentalist Traceur
View Public Profile
Send a private message to Mentalist Traceur
Find all posts by Mentalist Traceur