diff options
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 70 |
1 files changed, 70 insertions, 0 deletions
diff --git a/README.md b/README.md new file mode 100644 index 0000000..18b0420 --- /dev/null +++ b/README.md @@ -0,0 +1,70 @@ +# phone-customization + +Home screen customizations for an Android phone running the Niagara launcher. +`clock/` is a KWGT widget preset that replaces Niagara's clock with a tall, +narrow, glassy clock in the style of the iOS lock screen: date with weather +on top, time tinted from the wallpaper's Material You colors with a fading +gradient and a glass rim, and the next calendar event underneath. + +## Requirements + +- Android phone with [KWGT](https://play.google.com/store/apps/details?id=org.kustom.widget) + and the KWGT Pro key (needed to load external presets). +- `adb` with USB debugging on, to push the preset. +- To rebuild the fonts: Python 3 and fontTools (`pip install fonttools`). + +## Install + +1. In KWGT, set the working folder to `Documents/KWGT` (KWGT settings). +2. Push the preset: + + ```sh + adb -s <serial> push clock/tallclock.kwgt /sdcard/Documents/KWGT/Kustom/widgets/ + ``` + +3. Add a KWGT widget to the home screen, tap it, then presets, Exported, + **tallclock**, and save. Resize the widget; the clock scales to fit. +4. Allow KWGT's calendar and location permissions for the event and weather + lines. In Niagara, turn off its own date, battery and weather row. + +Tapping the time opens the clock app, tapping the date or the event opens +the calendar. Edit the `intent:` strings in `preset.json` for other apps. + +## Usage + +Edit `clock/src/preset.json`, then rebuild and push the package: + +```sh +cd clock/src +zip -qr ../tallclock.kwgt preset.json preset_thumb_*.jpg fonts/*.ttf +``` + +Rebuild the fonts from upstream sources (Oswald and Material Symbols +Rounded variable fonts from the Google Fonts and material-design-icons +repositories): + +```sh +clock/mkfont.py 'Oswald[wght].ttf' clock/src/fonts/TallClock-v4.ttf wght=400 0.51 +clock/mkicons.sh 'MaterialSymbolsRounded[FILL,GRAD,opsz,wght].ttf' clock/src/fonts/WeatherIcons.ttf +``` + +KWGT caches fonts by file name, so give a changed font a new name and update +`text_family` in the preset. + +## License + +Copyright (C) 2026 Danilo M. <danix@danix.xyz> + +GPLv2 only. See [LICENSE](LICENSE) for the full text. + +Bundled fonts keep their own licenses, in `clock/src/fonts/`: Oswald (the +base of TallClock) and Barlow Condensed under the SIL Open Font License 1.1, +Material Symbols under Apache-2.0. + +## Development Approach + +This project is developed using AI-assisted tools. Code is generated with the help of AI based on human-provided specifications, design decisions, and iterative feedback. + +All contributions are reviewed, tested, and curated by the maintainer before being included in the codebase. AI is used as a productivity and exploration tool, while human oversight remains central to all decisions. + +The goal is to combine the flexibility of AI-assisted development with standard open-source practices such as transparency, review, and accountability. |
