get_song.sh: update to 1.0

This commit is contained in:
Tuxliban Torvalds 2023-09-21 01:00:04 -06:00
parent f03a8e10d0
commit 9d29f10f17
1 changed files with 3 additions and 1 deletions

4
varios/get_song.sh Executable file → Normal file
View File

@ -1,10 +1,12 @@
#!/bin/sh
#
# v1.0 - 19/09/2023
# Script que muestra información sobre la canción en curso
#
# Dependencias: moc
#
# 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
SONG=$(mocp -Q %song)