Skip to content

tblelrd/lyrical

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Lyrics Program!

crates.io licence

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!

Notable Features

  • Automatically romanizes chinese, japanese, and korean lyrics. (Can be toggled per language, see usage section)
  • Caching. (Max number of elements can be changed)

Demo Image

lyrics-on-waybar

Installation

Make sure you have playerctl in your $PATH. (The package to install is usually just called playerctl).

Cargo (crates.io)

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

Cargo (git)

Install this program from git by running this command.

cargo install --git https://github.com/tblelrd/lyrical

Usage

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

Configuration

Waybar

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.

About

A rust tool to display synced lyrics in your waybar (or any other bar)!

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Languages