Two ways possible:
- use cargo
- use the provided nix flake via
nix build
Use the provided nix overlay:
inputs = {
...
rofi-music-rs.url = "github:muellerbernd/rofi-music-rs";
...
};
and then include rofi-music-rs
via
rofi-music-rs = inputs.rofi-music-rs.packages."x86_64-linux".rofi_music_rs;
or use the overlay
- build with cargo
cargo build --release
./target/release/rofi-music-rs
./target/release/rofi-music-rs continue # run in continuous mode
./target/release/rofi-music-rs help # show help
- or use nix
nix build # creates result folder
./result/bin/rofi-music-rs
./result/bin/rofi-music-rs continue # run in continuous mode
./result/bin/rofi-music-rs help # show help