remove mediaplayer | bug restart sesion

This commit is contained in:
Jesús 2019-04-22 17:27:57 -05:00
parent 11ffe92bc4
commit fe8b040960
No known key found for this signature in database
GPG Key ID: F6EE7BC59A315766
2 changed files with 0 additions and 28 deletions

View File

@ -38,13 +38,6 @@ markup=none
# interval=5
# signal=10
[mediaplayer]
label=
command=sh /home/$USER/.config/i3/scripts/mprish.sh
instance=audacious
interval=5
signal=10
# Volume indicator
#
# The first parameter sets the step (and units to display)

View File

@ -1,21 +0,0 @@
#!/bin/bash
# Specifying the icon(s) in the script
# This allows us to change its appearance conditionally
player_status=$(playerctl status 2> /dev/null)
if [[ $player_status == "Playing" || $player_status == "Paused" ]]; then
metadata="$(playerctl metadata artist) - $(playerctl metadata title)"
fi
# Foreground color formatting tags are optional
if [[ $player_status == "Playing" ]]; then
# Orange when playing
echo "$metadata"
elif [[ $player_status == "Paused" ]]; then
# Greyed out info when paused
echo "$metadata"
else
# Greyed out icon when stopped
echo ""
fi