Crates.io | cmus-notify |
lib.rs | cmus-notify |
version | 0.0.3 |
source | src |
created_at | 2023-02-24 00:41:28.807657 |
updated_at | 2023-08-09 11:00:46.134941 |
description | A simple notification daemon for cmus |
homepage | |
repository | https://github.com/anas-elgarhy/cmus-notify |
max_upload_size | |
id | 793204 |
size | 151,572 |
Note: This project is still in its early stages and is not yet ready for production use. It is currently being developed as a just-for-fun project. If you are interested in contributing, please feel free to open an issue or a pull request.
cargo install cmus-notify
cargo install --git https://github.com/anas-elgarhy/cmus-notify
yay -S notify-cmus
cmus-notify
in your terminal to start the program, the program will run in the background and will notify you about cmus status changescmus-notify --help
to see the available options, also you can see the available options in the usage~/.config/cmus-notify/config.toml
, you can also use the --config
option to specify a custom configuration file path, the default config file will be created in ~/.config/cmus-notify/config.toml
if it doesn't existcmus
music player, you can do that by creating an alias for cmus
in your shell configuration file, e.g. alias cmus="cmus-notify --link & cmus"
, the --link
option will link the cmus-notify
process to the cmus
process, so when you close cmus
the cmus-notify
process will also be terminatedcargo
as the build system. But to make my life easier I decided to use just as a task runner, so you need to install just
using cargo install just
just build
in the debug mode with all the features enabledjust build--release
with all the features enabledjust run
, this will build the project in the debug mode and run it with the debug log leveljust c
, to run cargo check
with all the features enabledjust t
, to run cargo test
with all the features enabledjust show-help
, to show the help message for the cmus-notify
programjust coverage-report
, to generate a coverage report for the project, and open it in the default browser, the report will be generated in the target/coverage
directory, this task requires grcov to be installed on your systemYou can see the all the available tasks and aliases in the justfile, or by running
just --list