Skip to content

Koiros 3.4

Choose a tag to compare

@lostadi lostadi released this 28 Nov 14:24
· 6 commits to main since this release

3.4 — Many colours, gliding

  • Never one hue. Material You grows a whole theme from one seed, so on its own every colour is a shade of it. The theme now carries the pond's three strongest colours: the first seeds Material You, and, with root, the second and third become the system's secondary and tertiary colours. Each gets a full tonal palette (the same hue at every lightness, as vivid as the screen allows), written as Koiros's own overlay (tools/termux/koiros-palette.py). A pond showing fewer colours lends the rest from a triad.
  • Gradual. Each of the three hues glides toward the colour it follows with a two-minute time constant, and the theme moves in steps of at most 9 degrees, at most every 20 seconds, so colours shift through every hue between instead of jumping.
  • Termux's greys take the second and third colours too.

3.3 — Your phone takes the pond's colours

  • Theme follows the wallpaper. Koiros reads which colours the pond is showing (each dot weighted by how brightly it is drawn; for the classic model, each creature by its size) and sets Android's Material You seed to the strongest one, in the lattice's own neon with the Vibrant style. The system bars, Settings, the keyboard and every app that uses Material You colours follow. The theme moves only when the main colour has shifted at least 14 degrees, and at most every 45 seconds, because each change restyles every open app. Previews never touch it.
  • Termux follows too. Koiros asks Termux to run ~/.termux/koiros-colors.sh with the pond's three strongest colours: the main one tints the background, text and cursor, and the sixteen terminal colours keep their meanings in the lattice's neon.
  • Your own theme comes back. Turning off Theme follows the wallpaper restores the theme and Termux colours you had before.
  • Both need permissions Android grants only from a computer or with root: WRITE_SECURE_SETTINGS for the system theme, and Termux's RUN_COMMAND (with allow-external-apps = true). ostadix/theme-setup.O installs the APK, grants both, installs the Termux script and checks the theme engine. Without them Koiros changes nothing.