-
Notifications
You must be signed in to change notification settings - Fork 47
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
v6
: breaking changes in themes, bug fixes and new features.
#200
Conversation
What's new? - You can now specify what kind of borders to use through box.border, which can take one of the four values: "double", "plain", "thick", "rounded" — casing? insensitive. - hide_box_delimiters has been moved to box.hide_delimiters [BREAKING CHANGE] - box.title is now optional, it can be omitted from your configuration in case you don't use it. v6 will likely contain more features than this the day of its release.
Co-authored-by: Restyled.io <commits@restyled.io>
Harness the power of Asciidoctor!
rename: screenshots -> assets move: ascii -> contrib/ascii
Co-authored-by: Restyled.io <commits@restyled.io>
- Add support for RGB and indexed colors - Fix all clippy warnings - Update color-parser-tui with optional field - Remove MacchinaColor entirely
Co-authored-by: Restyled.io <commits@restyled.io>
Co-authored-by: Restyled.io <commits@restyled.io>
@uttarayan21 Fixed with a959c0a I've also bumped the Rust edition to 2021. |
@grtcdr Running v6.0.0 built from the latest commit now, all good. Thanks! https://i.postimg.cc/mgcyZQMc/2021-12-05-204750-1366x768-scrot.png |
Quite a clean theme you got there, would you mind adding it to There's only so many elements in the periodic table, so we should probably start using a sensible naming scheme. |
Sure, I'll make a PR later. |
@grtcdr or, if you don't want to wait |
No I don't mind waiting. If you merge a PR you get your name on the contributors list, which is always nice :) |
Done :smile |
- improve the output of `--list_themes` - `--list_themes` supports `--verbose`
@uttarayan21 The way we handle |
Isn't MACCHINA_CONF only for the config file ? |
Yeah, but that's not enough to source the themes. If macchina can't find its config in predefined locations, it also won't find its themes. |
- removed: - MACCHINA_CONF handling - refactored: - main - reworked: - config handling
as well as making the effort to keep main.rs tiny with the necessary functions in separate modules.
What spacing bug? It's a weird bug that can appear when you have only a *few* readouts showing, you'll notice the spacing between the separator and the content besides it is *uneven*.
I've fixed the spacing bug, v6 will release soon ❤️ (no ETA yet) |
v6
codename "Gallium" — CHANGELOGWe hope this is the last time we have to break your themes and configs, but hopefully you won't be so annoyed thanks to the new changes and features that this new version brings. Go on, have a read:
Breaking Changes
MACCHINA_CONF
has been deprecated, please use--config
from now on, you can aliasmacchina
tomacchina --config <PATH>
to avoid typing it every time.hide_bar_delimiters
has been deprecated, but the feature isn't gone. You can hide your bar's delimiters usinghide_delimiters
, here's what'd look like:palette
has been deprecated, and again, the feature is still here. But, you now have to specify the type of variant you'd like to display and what glyph to use:Bugfixes
DESKTOP_SESSION
, preferringXDG_CURRENT_DESKTOP
over it.DESKTOP_SESSION
is essentially a fallback now. (closes [BUG] DE info for KDE Plasma #199)--short-uptime
has been renamed to--long-uptime
. Somehow, I forgot to rename the long version of this command-line flag, and you can verify this by comparing the flag name with the flag description — they contradict each other.New features
38
and hexadecimal values, e.g.#FFFFFF
for any option that accepts a color. (Add support for rgb and indexed colors #193)/usr/share/macchina/themes
. (closes [FEATURE] Support system-wide installation #210)~/.config/macchina/themes
.Miscellaneous
--list-themes
, themes are now listed below the directory that contains them, resulting in much cleaner output.