Skip to content

Commit

Permalink
initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
cybergaz committed Aug 24, 2023
1 parent 410eda5 commit 45f859f
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,17 @@ git clone https://github.com/cybergaz/waybar_player_rust
cd waybar_player_rust
cargo build
```

<br>

#### integration with waybar
just update the waybar config by adding new module , for example :
```
"custom/player": {
"exec": " path/to/binary ",
"format": "Playing : {}",
"interval": 2,
"return-type": "json",
"on-click": "playerctl play-pause"
},
```

0 comments on commit 45f859f

Please sign in to comment.