Skip to content

Commit 73ef2a2

Browse files
authored
Fix cargo install examples in README.md (#199)
1 parent 64f359b commit 73ef2a2

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ cargo install spotify_player --no-default-features
210210
To enable lyric support, `spotify_player` needs to be built/installed with `lyric-finder` feature (**disabled** by default). To install the application with `lyric-finder` feature included run:
211211
212212
```shell
213-
cargo install --features lyric-finder
213+
cargo install spotify_player --features lyric-finder
214214
```
215215
216216
User can view lyric of the currently playing track by calling the `LyricPage` command to go the lyric page. To do this, `spotify_player` needs to be built with a `lyric-finder` feature.
@@ -228,15 +228,15 @@ Media control support is implemented using [MPRIS DBus](https://wiki.archlinux.o
228228
To enable image rendering support, `spotify_player` needs to be built/installed with `image` feature (**disabled** by default). To install the application with `image` feature included, run:
229229

230230
```shell
231-
cargo install --features image
231+
cargo install spotify_player --features image
232232
```
233233

234234
`spotify_player` supports rendering image in a full resolution if the application is run on either [Kitty](https://sw.kovidgoyal.net/kitty/graphics-protocol/) or [iTerm2](https://iterm2.com/documentation-images.html). Otherwise, the image will be displayed as [block characters](https://en.wikipedia.org/wiki/Block_Elements).
235235

236236
`spotify_player` also supports rendering images with `sixel` behind `sixel` feature flag, which also enables `image` feature:
237237

238238
```shell
239-
cargo install --features sixel
239+
cargo install spotify_player --features sixel
240240
```
241241

242242
**Notes**:
@@ -267,7 +267,7 @@ Examples of image rendering:
267267
To enable desktop notification support, `spotify_player` needs to be built/installed with `notify` feature (**disabled** by default). To install the application with `notify` feature included, run:
268268
269269
```shell
270-
cargo install --features notify
270+
cargo install spotify_player --features notify
271271
```
272272
273273
**Note**: the notification support in `MacOS` and `Windows` are quite restricted compared to `Linux`.

0 commit comments

Comments
 (0)