No no no, not yet... {tap tap tapping of keyboard}
{mumbling to self} close though close, oh so close ...
{tap tap tapping of keyboard} yes, yes, I' know I've been saying that for years ....
{tap tap tapping of keyboard} but this time I mean it! 1, 2 days at the most , well maybe a week!
Seriously: finished? - my conky still isn't "finished", I doubt this app will be any different. My first question was asking if something was conky - it was a desklet, that's how much I knew.
Have a nice day.
Bruce
no problem
is it possible to get a conditional formatting on the temperature
for instance if the temperature is between 0 and 10 degrees the colour is blue between 10 and 20 green between 20 and 30 orange and higher then 30 red
or is this not possible
Sure it's possible, not straight forward though
How do I build into the script something that both supports the css stuff and also config entries detailing temp based colour settings
maybe a javascript/css solution is what's needed, a special css class used with javascript to colourize temps...?
need to ponder for a bit
Additional to the request for conditional formatting of temperatures by paulus4605.
I am running gtk-desktop-info on Xubuntu Jaunty and although I have set the LOCALE to nl in the forecast config file the displayed language remains English (for a screenshot see post #102).
Could this be caused by the fact I am running Jaunty?
Last edited by useResa; February 16th, 2009 at 02:34 PM. Reason: Added link to previous post
COMPROMISE: Let's agree to respect each other's views, no matter how wrong yours may be.
You updated the config file located in ~/.config/gtk-desktop-info right?
I can't see why Jaunty would cause any issues...
edit: can you run the script from a terminal with trhe additional --verbose option? I will detail config file use etc...might be helpful to post the output e.g.
will output a lot of details including:Code:gtk-desktop-info --verbose --plugin=forecast
Code:2009-02-16 13:56:21,258 - gtk-desktop-info.plugin_forecast - INFO - Loading config settings from "/home/mark/.config/gtk-desktop-info/plugin_forecast.config"
Last edited by kaivalagi; February 16th, 2009 at 02:57 PM.
Maybe something like Crinos512's script for conky could be modified (adapted to python) and the plugin_forecast.config could be modified to add a section, so people can pick their temps: (obviously needed for the differences between F° and C°)
Anything 16 and below is COOL-COLD (C°)Code:COOL=16 WARM=26
Anything 17 to 25 is WARM
26 and up HOT
The script:
Might be a start!Code:#!/bin/bash # colorize.sh # by: Crinos512 COOL=65 WARM=80 if [[ $1 < $COOL ]] then echo "\${color7}"$1 # COOL elif [[ $1 > $WARM ]] then echo "\${color9}"$1 # HOT else echo "\${color8}"$1 # WARM fi exit 0
I use it in conky for: CPU, GPU, CORE, MB & HD's (copied to different names)
CHIMO!
Bruce
Bookmarks