From a765f92fb5accd34293a475d70c4b1048986c346 Mon Sep 17 00:00:00 2001 From: Emircan ERKUL Date: Thu, 17 Nov 2022 13:15:48 +0300 Subject: [PATCH] folder change, formatting fix --- .../prayer-times-diyanet.sh | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) rename commands/{productivity => culture}/prayer-times-diyanet.sh (87%) diff --git a/commands/productivity/prayer-times-diyanet.sh b/commands/culture/prayer-times-diyanet.sh similarity index 87% rename from commands/productivity/prayer-times-diyanet.sh rename to commands/culture/prayer-times-diyanet.sh index 2403b5cd9..97dc11c17 100755 --- a/commands/productivity/prayer-times-diyanet.sh +++ b/commands/culture/prayer-times-diyanet.sh @@ -5,16 +5,21 @@ # Homebrew: https://brew.sh/ # Coreutils: https://formulae.brew.sh/formula/coreutils -# @authorURL https://emircanerkul.com -# @raycast.author emircanerkul +# Required parameters: # @raycast.schemaVersion 1 # @raycast.title Prayer Times (Diyanet) -# @raycast.packageName Productivity -# @raycast.description Prayer Times that grabbed from the Diyanet's Official Website for people located in Türkiye. # @raycast.mode inline # @raycast.refreshTime 10m +# @raycast.packageName Culture + +# Optional parameters: # @raycast.icon 🕌 +# Documentation +# @raycast.author Emircan Erkul +# @raycast.authorURL https://emircanerkul.com +# @raycast.description Prayer Times grabbed from the Diyanet's Official Website for people located in Türkiye. + data=$(curl -s https://namazvakitleri.diyanet.gov.tr/tr-TR/9654/kocaeli-icin-namaz-vakti) imsak=$(echo "$data" | pcregrep -o1 '_imsakTime = "(.*)"')