get_song.sh: update to 1.0
This commit is contained in:
parent
f03a8e10d0
commit
9d29f10f17
|
@ -1,10 +1,12 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
#
|
||||||
|
# v1.0 - 19/09/2023
|
||||||
# Script que muestra información sobre la canción en curso
|
# Script que muestra información sobre la canción en curso
|
||||||
#
|
#
|
||||||
# Dependencias: moc
|
# Dependencias: moc
|
||||||
#
|
#
|
||||||
# Shell: POSIX compliant
|
# Shell: POSIX compliant
|
||||||
# Autor: O. Sánchez <o-sanchez@linuxmail.org>
|
# Autor: O. Sánchez <o-sanchez@linuxmail.org> 2020 - 2023
|
||||||
|
|
||||||
if [ "$(mocp -Q %state)" != "STOP" ];then
|
if [ "$(mocp -Q %state)" != "STOP" ];then
|
||||||
SONG=$(mocp -Q %song)
|
SONG=$(mocp -Q %song)
|
||||||
|
|
Loading…
Reference in New Issue