No description
| src | ||
| .envrc | ||
| .gitignore | ||
| Cargo.lock | ||
| Cargo.toml | ||
| cm | ||
| flake.lock | ||
| flake.nix | ||
| LICENSE | ||
| README.md | ||
cmus-lyrics
Simple rust tool to display embedded lyrics of the song currently running in cmus.
Usage
Nix
Run directly:
nix run "git+https://git.noah.rest/len/cmus-lyrics.git"
Or use in flake based nixos/home config:
# in flake.nix - inputs
cmus-lyrics = {
url = "git+https://git.noah.rest/len/cmus-lyrics.git?ref=main&shallow=1";
inputs.nixpkgs.follows = "nixpkgs";
};
# provides package:
cmus-lyrics = inputs.cmus-lyrics.packages."${pkgs.stdenv.hostPlatform.system}".default;
Compile from Source
git clone https://git.noah.rest/len/cmus-lyrics.git
cd cmus-lyrics
cargo build --release
./target/release/cmus-lyrics # or copy to $HOME/bin/