https://github.com/vonheikemen/cmus-notify
Display song cmus is playing using notify-send.
https://github.com/vonheikemen/cmus-notify
cmus desktop-notifications rust
Last synced: 11 months ago
JSON representation
Display song cmus is playing using notify-send.
- Host: GitHub
- URL: https://github.com/vonheikemen/cmus-notify
- Owner: VonHeikemen
- License: mit
- Created: 2019-05-16T03:08:43.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2019-11-01T17:32:48.000Z (over 6 years ago)
- Last Synced: 2025-03-12T10:44:53.963Z (over 1 year ago)
- Topics: cmus, desktop-notifications, rust
- Language: Rust
- Size: 6.84 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## Requirements
- [Rust](https://github.com/rust-lang/rust)
- [notify-send](https://ss64.com/bash/notify-send.html)
## Instalation
1. Download or clone this repository and navigate to the project folder.
2. Compile using `cargo build --release`
3. Set the status_display_program variable in cmus:
> :set status_display_program=/project-folder/target/release/cmus-notify
4. Save the changes using:
> :save
5. (Optional) Minimize binary size with the [strip](https://linux.die.net/man/1/strip) command.
> strip /project-folder/target/release/cmus-notify
## Other solutions
- [status_diplay_notify_send.py](https://github.com/cmus/cmus/wiki/status_diplay_notify_send.py)
- [CmusNotify (go)](https://github.com/sebojanko/CmusNotify)
- [cmus_notify (bash)](https://gist.github.com/VonHeikemen/1eb9c0f9edef923100fbab41a65049a2)
- [cmus_notify (c)](https://gist.github.com/VonHeikemen/93db9290a3e7a166df514cfc6e3423f2)