Skip to content

Releases: Misterio77/flavours

v0.7.1

02 May 19:25
73a1665
Compare
Choose a tag to compare
fix: missing newline when applying

Fixes https://github.com/Misterio77/flavours/issues/78

v0.7.0

02 May 01:37
acca863
Compare
Choose a tag to compare
release 0.7.0

v0.6.1

22 Oct 22:11
v0.6.1
da04455
Compare
Choose a tag to compare

I forgot to bump the cargo package

v0.6.0

22 Oct 20:45
v0.6.0
2c17b49
Compare
Choose a tag to compare

This version introduces a couple changes aimed at version controlled reproducible workflows.

  • Flavours will now look for schemes and templates in your configuration directory. Thanks @loiccoyle!

  • You can now add [[extra_scheme]] and [[extra_templates]] entries to your config to configure schemes and templates sources declaratively. Thanks @Softsun2!

Fix clap compiling issue

29 Oct 16:28
af07058
Compare
Choose a tag to compare

Hey!

This release explicitly locks clap version, as to avoid compiling issues reported #38 (caused by cargo install not respecting Cargo.lock).

Base24 support

09 Oct 15:47
5c09033
Compare
Choose a tag to compare

Hey!

This small release contains a few fixes that have been waiting around to be release, and hopefully fixes #37.

This also includes support for base24 schemes and templates. This is fully backwards compatible, the 8 extra colors can be used by templates as desired (or not used at all), and all have fallback colors when you use a base16 scheme.

I've also renamed the configuration key item to items, this is also backwards compatible and basically just for better semantics.

Add build subcommand, from stdin flag for apply

28 Jun 20:42
7fa8826
Compare
Choose a tag to compare

Hey guys!

You can now use flavours as a traditional base16 builder: the subcommand flavours build builds a given template file using a scheme file. Perfect for any cool automation you can think of.

The flavours apply subcommand now supports a --stdin flag. This can be used in all sorts of ways, but the reasoning for this addition was chaining with flavours generate, allowing you to generate and apply a scheme without writing it to disk first (works great if you have an immutable flavours directory, for example): flavours generate --stdout dark kitties-wallpaper.png | flavours apply --stdin.

I've also revamped how shell completion generation works, no more manual fixing nescessary!

Run hooks inside preferred shell

01 Apr 02:22
addbd72
Compare
Choose a tag to compare

Hey everyone!

This release includes a new feature, that allows hooks to run inside a shell. This should allow you to use bash (or any other) syntax on your hooks.

The shell is configurable on your config.toml, but defaults to sh -c '{}'. This means it should work by default in any POSIX system. If you use flavours on windows (i'm not sure if someone does?), this will probably be a breaking change, so configure your shell to whatever you use (or set it to {} to get the pre-0.4 behaviour).

Let me know if you have any feedback!

Add lightweight hook mode

02 Mar 07:08
Compare
Choose a tag to compare

Hey folks, a quick and small feature i noticed was interesting when trying out fzf as a scheme chooser.

You can now specify whether configuration items are lightweight or not. They default to light=true, that is, all items are light enough unless you explicitly tell flavours otherwise.
When running apply, you can use flavours apply --light to only run lightweight hooks, that is, skip any hooks you marked as heavy-duty.

This enables you to do some pretty cool stuff, such as using fzf's --preview to seamlessly (really, flavours is insanely fast) preview schemes on the fly (while skipping hooks that take a second or so to run, such as sway's reload), and only run the non-lightweight hooks after you're done selecting.

How it looks:
Usage

For anyone interested, this fuzzy selector can easily be done with:
flavours list -l | fzf --preview='flavours apply -l {}'

If you want something more advanced (revert to previous scheme when fzf is closed with esc, run flavours apply on non-lightweight mode after selecting), it's quite simple too:

old="$(flavours current)"
flavours list -l | fzf --preview='flavours apply -l {}' || \
flavours apply "${old}" && \
flavours apply "$(flavours current)"

Fix RGBA inconsistencies

03 Feb 00:06
Compare
Choose a tag to compare

This release includes the fix from #22, which should fix #14.