COMMENT
version: 0.10.2
https://broank.bss.design/Wetr.html
๐ปUser Settings below๐ป
COMMENT
๐ธ๐ถ THEMES ๐ถ๐ธ
โข Auto
โข Dark
โข Light
โข Clear
โข Classic
Type๐one of these in the text box below
(Auto uses Light during sunlight hours and Dark during nighttime hours)
๐
TEXT
Auto

Text
COMMENT
๐ธ๐ถ SYSTEM APPEARANCE ๐ถ๐ธ
By default (Off) Wetr will not control your system appearance (Light/Dark Mode)
Change text below to โOnโ if you want Wetr to control your system appearance to be Light Mode during sunlight hours and Dark Mode during nighttime hours.
๐
TEXT
Off

Text
COMMENT
๐ธ๐ถ TEMPERATURE ๐ถ๐ธ
โFeelsโ accounts for humidity and other factors that might make it feel warmer or cooler than the normal temperature.
Type โRealโ or โFeelsโ
๐
TEXT
Real

Text
COMMENT
๐ธ๐ถ CLEAR EFFECTS ๐ถ๐ธ
By default (On) Wetr shows a sunny effect during day time hours and a starry effect during night time hours.
Set to โOffโ to remove these effects for Clear weather conditions.
๐
TEXT
On

Text
COMMENT
๐ธ๐ถ LAST UPDATED ๐ถ๐ธ
If you would like to print the time you last ran Wetr under the weather info, change โOffโ to โOnโ
๐
TEXT
Off

Text
COMMENT
๐ธ๐ถ FONTS ๐ถ๐ธ
Below is a list of fonts. Slide which font you want to use to the very top of the list.
๐
LIST

List
COMMENT
๐ธ๐ถ WALLPAPER SOURCE ๐ถ๐ธ
By default (Auto) Wetr grabs images from Unsplash to use as a wallpaper.
If youโd rather use your own photo album, change below from โAutoโ to โAlbumโ
๐
TEXT
Auto

Text
COMMENT
๐ธ๐ถ AUTO WALLPAPER SUBJECT ๐ถ๐ธ
Use the text field below to change what subject you want to use as your wallpaper, IF itโs set to โAutoโ above.
(If set to โAlbumโ scroll down until you see โWALLPAPER ALBUMโ)
๐
TEXT
nature

Text
SCRIPTING
If
Text
is
Album
COMMENT
๐ธ๐ถ WALLPAPER ALBUM ๐ถ๐ธ
If you changed the above text to โAlbumโ change [Recents]๐ to your wallpaper album.
PHOTOS
Find
Library
where
[{'class': 'filter-property', 'value': 'Album'}, {'class': 'filter-operator', 'value': 'is'}, {'class': 'filter-benchmark', 'value': 'anything'}] Get 1 File



Photos
COMMENT
โ ๏ธ USER SETTINGS END HERE. โ ๏ธ
Do not tinker below unless you know what you are doing.
VARIABLES
Set variable
PhotoChoice
to
Photos
SCRIPTING
Otherwise
VARIABLES
Set variable
Subject
to
Text
NETWORK
Get contents of
https://source.unsplash.com/random/1284x2778?
Subject
Options Under Construction

Contents of URL
MEDIA
Get images from
Contents of URL

Images
VARIABLES
Set variable
PhotoChoice
to
Images
SCRIPTING
End If

If Result
LOCATION
Get current weather at
Current Location

Weather Conditions
DOCUMENTS
Replace
with
World
in
Text

Updated Text
TEXT
Change
Updated Text
to
Capitalize Every Word

Updated Text
VARIABLES
Set variable
Theme
to
Updated Text
DOCUMENTS
Replace
with
World
in
Text

Updated Text
TEXT
Change
Updated Text
to
Capitalize Every Word

Updated Text
VARIABLES
Set variable
TempChoice
to
Updated Text
DOCUMENTS
Replace
with
World
in
Text

Updated Text
TEXT
Change
Updated Text
to
Capitalize Every Word

Updated Text
VARIABLES
Set variable
ClearEffects
to
Updated Text
DOCUMENTS
Replace
with
World
in
Text

Updated Text
TEXT
Change
Updated Text
to
Capitalize Every Word

Updated Text
VARIABLES
Set variable
LastRan
to
Updated Text
SCRIPTING
Get
First Item
from
List

Item from List
VARIABLES
Set variable
Font
to
Item from List
DOCUMENTS
Replace
with
World
in
Text

Updated Text
TEXT
Change
Updated Text
to
Capitalize Every Word

Updated Text
VARIABLES
Set variable
AppearanceAuto
to
Updated Text
VARIABLES
Get
PhotoChoice
COMMENT
Device Compatibility Check
SCRIPTING
If
Current Date
has any value
URL
file:/var/containers/Shared/SystemGroup/systemgroup.com.apple.mobilegestaltcache/Library/Caches/com.apple.MobileGestalt.plist

URL
DOCUMENTS
Get text from
URL

Text
SCRIPTING
Get
Value
for
CacheExtra.Z/dqyWS6OZTRy10UcmUAhw
in
URL

Dictionary Value
VARIABLES
Set variable
Device
to
Dictionary Value
TEXT
iPhone 12 Pro

Text
VARIABLES
Set variable
Device
to
Text
DOCUMENTS
Get text from
Device

Text
DICTIONARY

Dictionary
SCRIPTING
Get
Value
for
Compatibility
in
Dictionary

Dictionary Value
SCRIPTING
Get
Value
for
Device
in
Dictionary Value

Dictionary Value
DOCUMENTS
Get text from
Dictionary Value

Text
SCRIPTING
If
Text
is
yes
SCRIPTING
Otherwise
SCRIPTING
Show alert
Your Device is Not Supported
Title
Your Device is Not Supported
SCRIPTING
Exit shortcut with
Result
SCRIPTING
End If

If Result
SCRIPTING
End If

If Result
COMMENT
Folder Creation & Defining Device Variables
SCRIPTING
If
Current Date
has any value
DOCUMENTS

File
SCRIPTING
If
File
does not have any value
DOCUMENTS
SCRIPTING
End If

If Result
DOCUMENTS

File
SCRIPTING
If
File
does not have any value
DOCUMENTS
Create Folder
Path
/Shortcuts/Wetr/Prefs/
SCRIPTING
End If

If Result
DOCUMENTS

File
SCRIPTING
If
File
does not have any value
DOCUMENTS
Create Folder
Path
/Shortcuts/Wetr/Content/
SCRIPTING
End If

If Result
DOCUMENTS

File
SCRIPTING
If
File
does not have any value
DOCUMENTS
Create Folder
Path
/Shortcuts/Wetr/Content/Conditions/
SCRIPTING
End If

If Result
DOCUMENTS

File
SCRIPTING
If
File
does not have any value
DOCUMENTS
Create Folder
Path
/Shortcuts/Wetr/Content/Conditions/Dark/
SCRIPTING
End If

If Result
DOCUMENTS

File
SCRIPTING
If
File
does not have any value
DOCUMENTS
Create Folder
Path
/Shortcuts/Wetr/Content/Conditions/Light/
SCRIPTING
End If

If Result
DOCUMENTS

File
SCRIPTING
If
File
does not have any value
DOCUMENTS
Create Folder
Path
/Shortcuts/Wetr/Content/Conditions/Clear/
SCRIPTING
End If

If Result
DOCUMENTS

File
SCRIPTING
If
File
does not have any value
DOCUMENTS
Create Folder
Path
/Shortcuts/Wetr/Content/Conditions/Classic/
SCRIPTING
End If

If Result