Collection of iOS Widgets
Find a file
Benny Samir Hierl 89ca97dab3
add Dark mode and allow to change colors
Signed-off-by: Benny Samir Hierl <bennysamir@posteo.de>
2020-10-21 22:25:28 +02:00
VodafoneDE add Dark mode and allow to change colors 2020-10-21 22:25:28 +02:00
.gitignore First Draft Vodafone Widget 2020-10-21 18:32:28 +02:00
LICENSE Initial commit 2020-10-21 15:43:46 +02:00
README.md add Dark mode and allow to change colors 2020-10-21 22:25:28 +02:00

iOS-Widgets

This is a Collection of Scripts which can be used with the Scriptable App to create a iOS Widget.

To use the Script, you have to Download the App "Scriptable" from the App Store: https://apps.apple.com/de/app/scriptable/id1405459188 Then you have to copy & paste the desired script into the Scriptable App. Now you can create a Sciptable widget and select the script in the widget settings.

Vodafone DE data usage

Vodafone Widget Preview light Vodafone Widget Preview dark

This widget loads the remaining data volume via the MyVodafone API. For this purpose, an automatic login via the cell phone network is performed, therefore it is necessary that the WIFI is not active for the first usage. After the first usage, the informations are cached and will be used in case of an active WIFI Connection. The cached information will be also used to prevent the API from a lot of request. The TTL (Time To Live) of the Cache can be setup at the beginning of the script (default is 60 min)

It is possible to overwrite the used colors of the widget. To overwrite the color, you have to add four color codes separated by | to the widget parameter option: BackgroundColor|TextColor|CircleFillColor|CircleStrokeColor Example: D32D1F|EDEDED|EDEDED|B0B0B0

If no parameter are set or not four colors are set the default color set for light or dark Mode will be used.

[Download]

Roadmap:

  • Add GigaDepot volume

Credits: