mirror of
https://github.com/Horhik/dotfiles.git
synced 2024-11-24 00:51:39 +00:00
24 lines
428 B
Markdown
24 lines
428 B
Markdown
# Script: player-mpris-simple
|
|
|
|
A small script that shows the current track.
|
|
|
|
![player-mpris-simple](screenshots/1.png)
|
|
|
|
|
|
## Dependencies
|
|
|
|
* [playerctl](https://github.com/acrisci/playerctl)
|
|
|
|
|
|
## Module
|
|
|
|
```ini
|
|
[module/player-mpris-simple]
|
|
type = custom/script
|
|
exec = ~/polybar-scripts/player-mpris-simple.sh
|
|
interval = 3
|
|
click-left = playerctl previous &
|
|
click-right = playerctl next &
|
|
click-middle = playerctl play-pause &
|
|
```
|