From 91419d70af0ca78be1677626e31942cbc411df43 Mon Sep 17 00:00:00 2001 From: iceyrazor Date: Thu, 8 Oct 2026 04:27:32 -0500 Subject: renamed en to enable in title.sh --- README.md | 2 +- src/title.sh | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 7b8dd2b..89450c4 100644 --- a/README.md +++ b/README.md @@ -25,7 +25,7 @@ This is made for me so its complicated to use. Do NOT cd bin then run ``chatloop``. Always have cd in this directory. -Set ``en=1`` in ``src/title.sh`` if you want song titles and artist name to display. Requires playerctl with mpris. +Set ``enable=1`` in ``src/title.sh`` if you want song titles and artist name to display. Requires playerctl with mpris. There is also ``bin/type`` to just send text to the chat box. diff --git a/src/title.sh b/src/title.sh index e83d91c..c6e9454 100755 --- a/src/title.sh +++ b/src/title.sh @@ -8,8 +8,8 @@ echo "$status" | grep Paused > /dev/null && output="♫⏸️ " echo "$status" | grep Stopped > /dev/null && output="♫⏹️ " # set to 1 to enable song title and artist name -en=0 -if [ $en = 1 ]; then +enable=0 +if [ $enable = 1 ]; then title="$(playerctl metadata title)" artist="$(playerctl metadata artist)" if [ "$artist" ]; then -- cgit v1.3