Skip to content

Commit

Permalink
docs: added music component to README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
AleGrz committed Dec 14, 2023
1 parent f99c6bd commit 7337905
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -444,6 +444,17 @@ Use `Alt+Click` to pin and un-pin an icon.
label_collapse_text: ">"
```

### Bar Component: Music

Displays currently playing music.

```yaml
- type: "musc"
label_not_playing: ""
label_paused: "{song_title} - {artist name}"
label_playing: "{song_title} - {artist name} ▶"
```

## Mixing font properties within a label

Font family, font weight, font size, and foreground color can be changed within parts of a label. This means that icons and text fonts can be used together in a label. To customize a part of the label, wrap it in an <attr> tag:
Expand Down

0 comments on commit 7337905

Please sign in to comment.