15 lines
178 B
Bash
Executable File
15 lines
178 B
Bash
Executable File
#!/bin/bash
|
|
set -euo pipefail
|
|
|
|
song="$(gospt nowplaying)"
|
|
|
|
if [[ $song =~ ['⏸'] ]]; then
|
|
|
|
echo $song | sed 's/[⏸▶]//g'
|
|
|
|
else
|
|
|
|
echo $song | sed 's/[⏸▶]//g'
|
|
|
|
fi
|