Simple lyrics program that you can use for something like waybar.
Using lrclib.net to request lyrics.
No AI was used for the creation of this program!
- Automatically romanizes chinese, japanese, and korean lyrics. (Can be toggled per language, see usage section)
- Caching. (Max number of elements can be changed)
Make sure you have playerctl in your $PATH.
Versions 0.5.0 and onward no longer rely on playerctl. (No separate installation required!)
Install the program from crates.io.
cargo install lyrical
Cargo will build the lyrical binary and place it in your CARGO_INSTALL_ROOT.
For more details on installation location see the cargo book
Install this program from git by running this command.
cargo install --git https://github.com/tblelrd/lyrical
The program can just be run with no flags.
lyrical
Run the help command for all of the options.
lyrical --help
If you can read the script of an automatically romanized language, like japanese. You can disable romanziation on that language like this. (All languages can be found in the help command)
lyrical -d ja
To have waybar show lyrics of the current song, you can create
a custom module for lyrical.
"custom/lyrical": { "format": "{}", "exec": "$HOME/.cargo/bin/lyrical" },
Then use the module by adding "custom/lyrical" to the module list.
