get_song: Se añade descripción del script

This commit is contained in:
Tuxliban Torvalds 2022-11-28 00:40:36 -06:00
parent 75e6686929
commit b2c4a8b35e
1 changed files with 6 additions and 0 deletions

View File

@ -1,4 +1,10 @@
#!/bin/sh
# Script que muestra información sobre la canción en curso
#
# Dependencias: moc
#
# Shell: POSIX compliant
# Autor: Tuxliban Torvalds <o-sanchez@linuxmail.org>
if [ "$(mocp -Q %state)" != "STOP" ];then
SONG=$(mocp -Q %song)