From d797562217fc714ba11df141c035827ec1b1d234 Mon Sep 17 00:00:00 2001 From: srv Date: Tue, 6 May 2025 04:38:16 -0500 Subject: Fixing the --text for yad original line --- yad-panel.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'yad-panel.sh') diff --git a/yad-panel.sh b/yad-panel.sh index 163541b..f7064bf 100644 --- a/yad-panel.sh +++ b/yad-panel.sh @@ -8,7 +8,7 @@ buttons() { --button="👍":0 --button="🔊":1 --button="🔁":2 \ --form \ --columns=1 \ - --text "$(echo -n \"$(cat \\"$HOME/.automatisiere-lieblingstexte.linea.actual.txt\\")\")" \ + --text "$(tr -d '\n' < "$HOME/.automatisiere-lieblingstexte.linea.actual.txt")" \ --width=400 --posx=$(($(( $(xrandr --query | grep '*' | awk '{print $1}' | cut -d'x' -f1) )) - 400 - 20)) --posy=20 case $? in 0) -- cgit v1.2.3