Skip to content

matugen-v1.0.0

Compare
Choose a tag to compare
@github-actions github-actions released this 11 Dec 19:56
· 244 commits to main since this release
80a5d77

Hopefully last breaking change update...

New keyword formats

  • hue
  • saturation
  • lightness
  • red
  • green
  • blue
  • alpha

Other template changes

  • Changed the syntax from <prefix>{<stuff>} to {{ <stuff> }}
  • Stuff like @{surface} will not work anymore, you now have to:
    • Specify whether its colors or not. Example: @{surface} would be {{ colors.surface }}.
    • Specify the mode every time. Example: @{surface} would be {{ colors.surface.default }} if it did not have any specified.
    • Specify the format every time. Example: @{surface} would be {{ colors.surface.default.hex }}

Note

The image still remains the same, just use the updated syntax. ({{ image }})

Config file changes

  • Removed run_after
  • Removed prefix

Added

  • update example config and template file
  • add --debug flag
  • remove run_after
  • (macos) implement wallpaper setting
  • (template) show error if file is not in UTF-8
  • (wallpaper) add error is the program to set wallpaper is not in PATH
  • (windows) implement setting wallpaper
  • add update-informer
  • (logging) add number indicator to logs for templates and run_after
  • (logging) update the message format

Fixed

  • (template) fix "parent folder does not exist" warning
  • --quiet flag still showing output
  • make enquote dependency only for macos target
  • run_after not working on windows
  • fix typo in run_after function

Other

  • clean up Template::generate function arguments
  • run cargo update
  • remove unneeded imports
  • update roadmap and wallpaper alert
  • format with cargo fmt
  • changed function arguments to not use config or args directly
  • move some files into os specific folders
  • move update_informer into a function
  • format with cargofmt