mirror of
https://github.com/danbulant/dotfiles
synced 2026-05-19 04:18:55 +00:00
fix spotify
This commit is contained in:
parent
0798ae887d
commit
91c76659fc
2 changed files with 4 additions and 2 deletions
|
|
@ -66,9 +66,9 @@
|
|||
// "format-alt": "{alt}",
|
||||
},
|
||||
"custom/spotify": {
|
||||
"exec": "bash ~/.config/waybar/album_art.sh",
|
||||
"exec": "bash ~/.config/waybar/spotify-meta.sh",
|
||||
"format": "{}",
|
||||
"return-type": "json",
|
||||
//"return-type": "json",
|
||||
"on-click": "playerctl play-pause",
|
||||
"interval": 10
|
||||
},
|
||||
|
|
|
|||
2
.config/waybar/spotify-meta.sh
Normal file
2
.config/waybar/spotify-meta.sh
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
#!/bin/bash
|
||||
playerctl metadata --format "{{artist}} - {{title}}"
|
||||
Loading…
Reference in a new issue