fix eww music icons
This commit is contained in:
parent
6c496f29db
commit
862853176b
@ -17,6 +17,6 @@
|
||||
:reveal music_reveal
|
||||
:duration "350ms"
|
||||
(box
|
||||
(button :class "song-button" :onclick "playerctl previous" "")
|
||||
(button :class "song-button" :onclick "playerctl previous" "⏮")
|
||||
(button :class "song-button" :onclick "playerctl play-pause" song_status)
|
||||
(button :class "song-button" :onclick "playerctl next" ""))))))
|
||||
(button :class "song-button" :onclick "playerctl next" "⏭"))))))
|
||||
|
@ -3,9 +3,9 @@
|
||||
get_status() {
|
||||
playerctl -F status | while read -r s; do
|
||||
if [ "$s" = "Playing" ]; then
|
||||
echo ""
|
||||
echo "⏸"
|
||||
else
|
||||
echo ""
|
||||
echo "⏵"
|
||||
fi
|
||||
done
|
||||
}
|
||||
|
@ -19,9 +19,9 @@
|
||||
(centerbox
|
||||
:halign "center"
|
||||
:class "music-button-box"
|
||||
(button :class "music-button" :onclick "playerctl previous" "")
|
||||
(button :class "music-button" :onclick "playerctl previous" "⏮")
|
||||
(button :class "music-button" :onclick "playerctl play-pause" song_status)
|
||||
(button :class "music-button" :onclick "playerctl next" ""))
|
||||
(button :class "music-button" :onclick "playerctl next" "⏭"))
|
||||
(box
|
||||
:orientation "v"
|
||||
(centerbox
|
||||
|
Loading…
Reference in New Issue
Block a user