summaryrefslogtreecommitdiffstats
path: root/kweather/weathersig.sh
diff options
context:
space:
mode:
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>+==="