battery: add '%S' specifier for displaying battery status through a symbol
See CHANGELOG.md for all the details.
Important: move from vulnerable chrono crate to time.
Tales of a stylus.
This release includes various under-the-hood tweaks to the codebase,
essentially ridding citron of boilerplate code, and exploring a
different approach to how icon logic should be handled internally.
It also fixes a bug that would result in battery percentage not showing
up in cases where your battery's state is unknown.
Changes in our documentation.
For more information, read CHANGELOG.md.
Feature: formatting symbols for the network notification
Read CHANGELOG.md for a more detailed list of the new additions, fixes
and improvements.
New features and improvements.
Read CHANGELOG.md for more information.
v0.10.1: Fix a warning
I forgot to upload v0.10.0, here's what happened:
- Fixed a bug that made it so the month (%m) showed up as a number and
not its textual representation, e.g. "Jan"
- Added a new symbol (%M), which shows a long version of the current
month, e.g. "January""
BREAKING CHANGES: Configure through a config file
citron can only be configured through a config file now, as its
command-line interface has been stripped down to subcommands a few
flags.
An example configuration file can be found at:
https://git.sr.ht/~grtcdr/citron/tree/main/item/config.yml
For more information, run `man citron`.
BREAKING CHANGES: Improvements to citron's CLI interface
This version makes improvements to citron's CLI interface, i.e. the
flags that you use to interact with it.
All of its functionalities have become subcommands.
- Previously: `citron --date`
- Now: `citron date`
This means options are now specific to their respective subcommand, e.g.
`--railway` will only show up when consulting the help section of the
`date` subcommand, and it will only work for it too.
One more thing, the usage of icons no longer requires calling two
different flags, one is enough, and that one has now been renamed
to just `-I`, it does not currently have a long name.
- Previously: `citron -nIT Papirus`
- Now: `citron n -I Papirus`
What in tarnation is 'n'? Well, that's an alias for the network
subcommand.
For more information, please consult citron's wiki at:
https://man.sr.ht/~grtcdr/citron/
Relocate to sr.ht
This is not a feature release, nor is it a bugfix release, citron just
relocated to sr.ht, and thus its manifest (Cargo.toml) had to be updated.