fix eww music icons

This commit is contained in:
dusk 2022-09-15 01:06:37 +03:00
parent 6c496f29db
commit 862853176b
Signed by: dusk
GPG Key ID: 1D8F8FAF2294D6EA
3 changed files with 6 additions and 6 deletions

View File

@ -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" ""))))))

View File

@ -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
}

View File

@ -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