diff --git a/Config/Default.inc b/Config/Default.inc new file mode 100644 index 0000000..d35d01a --- /dev/null +++ b/Config/Default.inc @@ -0,0 +1,2 @@ +[Variables] +URL=http://www.islamicfinder.org/prayer_service.php?country=australia&city=newcastle&state=02&zipcode=&latitude=-32.9167&longitude=151.7500&timezone=10.00&HanfiShafi=1&pmethod=1&fajrTwilight1=&fajrTwilight2=&ishaTwilight=0&ishaInterval=0&dhuhrInterval=1&maghribInterval=1&dayLight=1&simpleFormat=xml diff --git a/Config/Fonts.inc b/Config/Fonts.inc new file mode 100644 index 0000000..0213558 --- /dev/null +++ b/Config/Fonts.inc @@ -0,0 +1,3 @@ +[Rainmeter] +LocalFont="#SKINSPATH#Waqtu\Config\Fonts\ITCAvantGardePro-XLt.ttf" +LocalFont2="#SKINSPATH#Waqtu\Config\Fonts\ITCAvantGardePro-Bk.ttf" diff --git a/Config/Fonts/ITCAvantGardePro-Bk.ttf b/Config/Fonts/ITCAvantGardePro-Bk.ttf new file mode 100644 index 0000000..8a45c25 Binary files /dev/null and b/Config/Fonts/ITCAvantGardePro-Bk.ttf differ diff --git a/Config/Fonts/ITCAvantGardePro-XLt.ttf b/Config/Fonts/ITCAvantGardePro-XLt.ttf new file mode 100644 index 0000000..ccafedb Binary files /dev/null and b/Config/Fonts/ITCAvantGardePro-XLt.ttf differ diff --git a/Config/Images/Thumbs.db b/Config/Images/Thumbs.db new file mode 100644 index 0000000..54bf3d2 Binary files /dev/null and b/Config/Images/Thumbs.db differ diff --git a/Config/Images/cog.png b/Config/Images/cog.png new file mode 100644 index 0000000..204df8d Binary files /dev/null and b/Config/Images/cog.png differ diff --git a/Config/Images/exit.png b/Config/Images/exit.png new file mode 100644 index 0000000..952369b Binary files /dev/null and b/Config/Images/exit.png differ diff --git a/Config/Styles.inc b/Config/Styles.inc new file mode 100644 index 0000000..ef3ed6d --- /dev/null +++ b/Config/Styles.inc @@ -0,0 +1,38 @@ +[Variables] +FontColor=255,255,255,255 +FontSize=15 +FontFace=ITC Avant Garde Pro Xlt +ColorText=255,255,255,255 + +;------------------------------- + +[prayTime] +StringAlign=LEFT +StringEffect=SHADOW +FontEffectColor=0,0,0,80 +FontColor=#FontColor# +FontFace=ITC Avant Garde Pro Bk +FontSize=#FontSize# +AntiAlias=1 + +[prayTitle] +StringAlign=RIGHT +StringCase=NONE +StringEffect=SHADOW +FontEffectColor=0,0,0,80 +FontColor=#ColorText# +FontFace=#FontFace# +FontSize=#FontSize# +AntiAlias=1 + +[hijriDate] +StringAlign=RIGHT +StringStyle=BOLD +StringEffect=SHADOW +FontEffectColor=100,100,100,80 +FontColor=#FontColor# +FontFace=#FontFace# +FontSize=20 +AntiAlias=1 +StringCase=LOWER + diff --git a/HijriDate/Date.ini b/HijriDate/Date.ini new file mode 100644 index 0000000..0d00983 --- /dev/null +++ b/HijriDate/Date.ini @@ -0,0 +1,56 @@ +;[PRAYER TIME SKIN]=============================== + +[Rainmeter] +Author=Adlan Khalidi +Update=2000 +@include=#SKINSPATH#Waqtu\Config\Fonts.inc + +[Variables] +@include=#SKINSPATH#Waqtu\Config\Default.inc + +; ---------------------------------- +; STYLES are used to "centralize" options +@include2=#SKINSPATH#Waqtu\Config\Styles.inc + + +;[WEBSITE MEASURES]=============================== + +[MeasureWebsite] +Measure=Plugin +Plugin=Plugins\WebParser.dll +UpdateRate=1800 +Url=#URL# +RegExp="(?siU)(.*)" + +[MeasureHijriDate] +Measure=Plugin +Plugin=Plugins\WebParser.dll +Url=[MeasureWebsite] +StringIndex=1 + +;[DISPLAY METERS]================================== + +[MeterBackground] +Meter=IMAGE +X=0 +Y=0 +W=375 +H=35 +ImageName=bg.png +BackgroundMargin=10,10,10,10 +SolidColor=0,0,0,1 + +[MeterDate] +MeasureName=MeasureHijriDate +MeterStyle=hijriDate +Meter=STRING +X=375 +Y=0 +StringIndex=7 + + +[Metadata] +Name=Hijri Date +Description=Displays the hijri date of Islamic Calendar. +License=Creative Commons BY-NC-SA 3.0 +Version=1.0.0 \ No newline at end of file diff --git a/HijriDate/Thumbs.db b/HijriDate/Thumbs.db new file mode 100644 index 0000000..9941dfe Binary files /dev/null and b/HijriDate/Thumbs.db differ diff --git a/PrayerTime/PrayerTime.ini b/PrayerTime/PrayerTime.ini new file mode 100644 index 0000000..4595e56 --- /dev/null +++ b/PrayerTime/PrayerTime.ini @@ -0,0 +1,187 @@ +;[PRAYER TIME SKIN]=============================== + +[Rainmeter] +Author=Adlan Khalidi +Update=2000 +MouseOverAction=!execute [!RainmeterShowMeter Location][!RainmeterRedraw] +MouseLeaveAction=!execute [!RainmeterHideMeter Location][!RainmeterRedraw] +@include=#SKINSPATH#Waqtu\Config\Fonts.inc + +[Variables] +@include=#SKINSPATH#Waqtu\Config\Default.inc + +; ---------------------------------- +; STYLES are used to "centralize" options +@include2=#SKINSPATH#Waqtu\Config\Styles.inc + + +;[WEBSITE MEASURES]=============================== + +[MeasureWebsite] +Measure=Plugin +Plugin=Plugins\WebParser.dll +UpdateRate=1800 +Url=#URL# +RegExp="(?siU)(.*).*(.*).*(.*).*(.*).*(.*).*(.*)" + +[MeasureFajr] +Measure=Plugin +Plugin=Plugins\WebParser.dll +Url=[MeasureWebsite] +StringIndex=1 + +[MeasureSyuruk] +Measure=Plugin +Plugin=Plugins\WebParser.dll +Url=[MeasureWebsite] +StringIndex=2 + +[MeasureZuhr] +Measure=Plugin +Plugin=Plugins\WebParser.dll +Url=[MeasureWebsite] +StringIndex=3 + +[MeasureAsr] +Measure=Plugin +Plugin=Plugins\WebParser.dll +Url=[MeasureWebsite] +StringIndex=4 + +[MeasureMaghrib] +Measure=Plugin +Plugin=Plugins\WebParser.dll +Url=[MeasureWebsite] +StringIndex=5 + +[MeasureIsya] +Measure=Plugin +Plugin=Plugins\WebParser.dll +Url=[MeasureWebsite] +StringIndex=6 + +;[DISPLAY METERS]================================== + +[MeterBackground] +Meter=IMAGE +X=0 +Y=0 +W=170 +H=175 +ImageName=bg.png +BackgroundMargin=10,10,10,10 +SolidColor=0,0,0,1 + +[Location] +Meter=IMAGE +X=154 +Y=0 +W=15 +H=16 +BackgroundMargin=10,10,10,10 +ImageName=#SKINSPATH#Waqtu\Config\Images\cog.png +SolidColor=0,0,0,1 +LeftMouseUpAction=!Execute ["#SKINSPATH#Waqtu\Config\Default.inc"] +Hidden=1 + +[TitlePray1] +Meter=STRING +MeterStyle=prayTitle +Text=Subuh +DynamicVariables=1 +X=90 +Y=0 + +[MeterFajr] +MeasureName=MeasureFajr +MeterStyle=prayTime +Meter=STRING +X=100 +Y=0 +StringIndex=1 + +[TitlePray2] +Meter=STRING +MeterStyle=prayTitle +Text=Sunrise +DynamicVariables=1 +X=90 +Y=29 + +[MeterSyuruk] +MeasureName=MeasureSyuruk +MeterStyle=prayTime +Meter=STRING +X=100 +Y=-24r +StringIndex=2 + +[TitlePray3] +Meter=STRING +MeterStyle=prayTitle +Text=Zohor +DynamicVariables=1 +X=90 +Y=54r + +[MeterZuhr] +MeasureName=MeasureZuhr +MeterStyle=prayTime +Meter=STRING +X=100 +Y=-24r +StringIndex=3 + +[TitlePray4] +Meter=STRING +MeterStyle=prayTitle +Text=Asar +DynamicVariables=1 +X=90 +Y=54r + +[MeterAsr] +MeasureName=MeasureAsr +MeterStyle=prayTime +Meter=STRING +X=100 +Y=-24r +StringIndex=4 + +[TitlePray5] +Meter=STRING +MeterStyle=prayTitle +Text=Maghrib +DynamicVariables=1 +X=90 +Y=54r + +[MeterMaghrib] +MeasureName=MeasureMaghrib +MeterStyle=prayTime +Meter=STRING +X=100 +Y=-24r +StringIndex=5 + +[TitlePray6] +Meter=STRING +MeterStyle=prayTitle +Text=Isya +DynamicVariables=1 +X=90 +Y=54r + +[MeterIsya] +MeasureName=MeasureIsya +MeterStyle=prayTime +Meter=STRING +X=100 +Y=-24r +StringIndex=6 + +[Metadata] +Name=Prayer Time +Description=Displays the daily Muslim prayer times. +License=Creative Commons BY-NC-SA 3.0 +Version=1.1.0 \ No newline at end of file diff --git a/PrayerTime/Thumbs.db b/PrayerTime/Thumbs.db new file mode 100644 index 0000000..9941dfe Binary files /dev/null and b/PrayerTime/Thumbs.db differ diff --git a/README.md b/README.md index 7d7ec28..3060ede 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,49 @@ -Waqtu -===== +Waqtu Waqtu Rainmeter Prayer Time Skin +====================================== -Waqtu Rainmeter Prayer Time Skin +Features +-------- + +This skin basically will parse the prayer times data from Islamic Finder website every 24 hours. + +Requirements +------------ + +Latest version of Rainmeter 2.2. Download [Rainmeter](https://rainmeter.net). + +Installation +------------ + +1. Extract Waqtu into My Documents/Rainmeter +2. Run Rainmeter and Manage Rainmeter +3. Click Refresh All button if Waqtu is not in the list +4. Expand Waqtu folder, choose the Prayer Time and Hijri Date skin and click Load Skin button + +Usage +----- +Using the skin is fairly straightforward. But just in case here is a short video demonstration on how to install and use the skin. + +1. Click on the setting button to edit the URL +2. Visit Islamic Finder website and find your location, based on city and country +3. Copy the URL code of the XML format +4. Replace the URL code in the setting +5. Right click on the skin and Refresh Skin + + +Changelog +--------- + +**Version 1.2.1 - 6/3/14** +- Added to Github + +**Version 1.2 – 20/2/13** +Fix positioning issue +Add another variant – with semi transparent dark background + +**Version 1.1. – 23/4/12** +Split Hijri Date and Daily Prayer time into separate skins +Clean and better coding +Setting button for easier way to paste URL + +**Version 1.0 – 13/11/11** +Display daily prayer times and hijri date in one skin \ No newline at end of file