summaryrefslogtreecommitdiffstats
path: root/kweather/weatherlog.sh
diff options
context:
space:
mode:
authortoma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2009-11-25 17:56:58 +0000
committertoma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2009-11-25 17:56:58 +0000
commitae2a03c2941bf92573f89b88ef73f8aa842bea0a (patch)
tree3566563f3fb6ac3cb3496669d8f233062d3091bc /kweather/weatherlog.sh
downloadtdetoys-ae2a03c2941bf92573f89b88ef73f8aa842bea0a.tar.gz
tdetoys-ae2a03c2941bf92573f89b88ef73f8aa842bea0a.zip
Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features.
BUG:215923 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdetoys@1054174 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kweather/weatherlog.sh')
-rwxr-xr-xkweather/weatherlog.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/kweather/weatherlog.sh b/kweather/weatherlog.sh
new file mode 100755
index 0000000..51afc45
--- /dev/null
+++ b/kweather/weatherlog.sh
@@ -0,0 +1,8 @@
+#!/bin/sh
+
+LOC=KEWR
+TEMP=`dcop KWeatherService WeatherService temperature $LOC`
+WIND=`dcop KWeatherService WeatherService wind $LOC`
+VIS=`dcop KWeatherService WeatherService visibility $LOC`
+DATE=`date`
+echo "$DATE,$TEMP,$WIND,$VIS" >> $LOC.log