summaryrefslogtreecommitdiffstats
path: root/kweather/weathersig.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/weathersig.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/weathersig.sh')
-rw-r--r--kweather/weathersig.sh14
1 files changed, 14 insertions, 0 deletions
diff --git a/kweather/weathersig.sh b/kweather/weathersig.sh
new file mode 100644
index 0000000..03f2fa0
--- /dev/null
+++ b/kweather/weathersig.sh
@@ -0,0 +1,14 @@
+#!/bin/sh
+
+LOC=KPTW
+TEMP=`dcop KWeatherService WeatherService temperature $LOC`
+WIND=`dcop KWeatherService WeatherService wind $LOC`
+DATE=`dcop KWeatherService WeatherService date $LOC`
+VIS=`dcop KWeatherService WeatherService visibility $LOC`
+NAME=`dcop KWeatherService WeatherService stationName $LOC`
+EMAIL="geiseri@kde.org"
+echo "===+<KWeather for KDE>+=+<http://www.kde.org>+==="
+echo " Report for $NAME"
+echo " on $DATE"
+echo " $TEMP with winds at $WIND and $VIS of visibility."
+echo "===============================+<$EMAIL>+==="