Playing around with various scripts for the Scriptable app on iOS.
- MultiDayCalendarWidget
- CalendarEventsWidget
- DailyLogWidget v2 (AggregatedDailyLogs)
- DailyLogWidget
- TerminalWidget
This widget displays events from your calendars for the next given number of days, with a moving window of the next 8 hours. The number of days, and number of hours to show are configurable within the script. Also allows for filtering events from certain calendars. Please use the LARGE
widget size for best display results.
All widget configurations/behaviors can be found by updating the WIDGET_CONFIGURATIONS
(comments and descriptions included in the code).
This widget displays all-day events, and any upcoming events within the moving window of the next 6 hours (number of hours is configurable). Also allows for filtering events from certain calendars, and will open the calendar of your choice on-press.
All widget configurations/behaviors can be found by updating WIDGET_CONFIGURATIONS
(comments and descriptions included in the code).
Configure the widget set-up on your homescreen, as shown in the below screenshot:
Multiple events for an hour are currently drawn on top of each other. Need to reduce the width of events based on how many are in each hour.
And updated look to the DailyLogWidget, showing a data grid of activites completed for each day.
Features:
- Customizable list of activites
- Customizable number of days to show in the grid
- Automatically creates a new log entry for the new day at 5 AM (time is customizable)
- Clicking on Widget brings up a dialog to update activites completed or not completed
- The data for each day is saved in iCloud (JSON format), where the filename is in the format
YYYY_MM_DD
Customizable list of things and colors. Creates a new "log" for each day at 5 AM (time is also customizable for when you want the new day to start).
Click on the Widget to bring up a dialog to update things you've completed for the day. The data for each day is saved in iCloud (JSON format), in it's own file, where the filename name is in the format YYYY-MM-DD
.
Inspired by evandcoleman, but re-written for my own data.
Currently, this widget shows information about:
- next calendar event
- next work calendar event
- weather
- location
- days until period start/end
- device stats (battery and screen brightness)
Copied from evandcoleman. This is used to cache values for the TerminalWidget, DailyLogWidget.