Skip to content

Commit

Permalink
First update!
Browse files Browse the repository at this point in the history
  • Loading branch information
Adlan Khalidi committed Mar 6, 2014
1 parent a8d1b60 commit d12acb8
Show file tree
Hide file tree
Showing 13 changed files with 334 additions and 3 deletions.
2 changes: 2 additions & 0 deletions Config/Default.inc
Original file line number Diff line number Diff line change
@@ -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
3 changes: 3 additions & 0 deletions Config/Fonts.inc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[Rainmeter]
LocalFont="#SKINSPATH#Waqtu\Config\Fonts\ITCAvantGardePro-XLt.ttf"
LocalFont2="#SKINSPATH#Waqtu\Config\Fonts\ITCAvantGardePro-Bk.ttf"
Binary file added Config/Fonts/ITCAvantGardePro-Bk.ttf
Binary file not shown.
Binary file added Config/Fonts/ITCAvantGardePro-XLt.ttf
Binary file not shown.
Binary file added Config/Images/Thumbs.db
Binary file not shown.
Binary file added Config/Images/cog.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Config/Images/exit.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
38 changes: 38 additions & 0 deletions Config/Styles.inc
Original file line number Diff line number Diff line change
@@ -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

56 changes: 56 additions & 0 deletions HijriDate/Date.ini
Original file line number Diff line number Diff line change
@@ -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)<hijri>(.*)</hijri>"

[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
Binary file added HijriDate/Thumbs.db
Binary file not shown.
187 changes: 187 additions & 0 deletions PrayerTime/PrayerTime.ini
Original file line number Diff line number Diff line change
@@ -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)<fajr>(.*)</fajr>.*<sunrise>(.*)</sunrise>.*<dhuhr>(.*)</dhuhr>.*<asr>(.*)</asr>.*<maghrib>(.*)</maghrib>.*<isha>(.*)</isha>"

[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
Binary file added PrayerTime/Thumbs.db
Binary file not shown.
51 changes: 48 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit d12acb8

Please sign in to comment.