Skip to content
This repository has been archived by the owner on Feb 21, 2024. It is now read-only.

Commit

Permalink
Add how to ato start
Browse files Browse the repository at this point in the history
  • Loading branch information
0x61nas committed Apr 8, 2022
1 parent ff28341 commit fed34cd
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,13 @@ I know the name is terrible but that's where I'm at right now :P
- You can edit the config.json file to change the settings [click here to more details](./Config.md)
- You can use the arguments to change the settings [click here to more details](./Arguments.md)

### How to do auto run when you start the cmus
- Put the following in your shellrc file e.g. `.bashrc` or `.zshrc`
```bash
alias JCmusIntegrationWithDiscord = '/usr/lib/jvm/jdk-18/bin/java -jar path/to/jar/JCmusIntegrationWithDiscord.jar'
alias cmus = 'JCmusIntegrationWithDiscord &>/dev/null & cmus'
```

### I use
- [`cmus-remote` tool](https://github.com/cmus/cmus) to the make a query to the cmus
- [Discord-RPC library](https://github.com/Vatuu/discord-rpc) to send the information to Discord
Expand Down

0 comments on commit fed34cd

Please sign in to comment.