fix apply system scheme to one Conky

master 0.9.57
Daniel Napora 2023-09-08 12:47:31 +02:00
parent 835004602a
commit 176034c8a6
1 changed files with 2 additions and 5 deletions

View File

@ -767,10 +767,9 @@ if [[ "$OLD_SYNTAX" = "true" ]];then
while IFS="|" read -r winclr clr clr0 clr1 clr2 scheme_name
do
((n=n+1))
out2+=("<tt>$(printf '%-20s' "${scheme_name}")</tt><big><span bgcolor='$winclr'> <span fgcolor='${clr}'></span> <span fgcolor='${clr0}'></span> <span fgcolor='${clr1}'></span> <span fgcolor='${clr2}'></span> </span></big>,conkyctl applyscheme usr $n ${1}")
#out2+=("<span bgcolor='$own_window_colour'> <span fgcolor='$default_color'></span> <span fgcolor='$color0'></span> <span fgcolor='$color1'></span> <span fgcolor='$color2'></span> </span> $schemetitle,conkyctl settheme $themefilename $1")
out2+=("<tt>$(printf '%-20s' "${scheme_name}")</tt><big><span bgcolor='$winclr'> <span fgcolor='${clr}'></span> <span fgcolor='${clr0}'></span> <span fgcolor='${clr1}'></span> <span fgcolor='${clr2}'></span> </span></big>,conkyctl applyscheme sys $n ${1}")
done < <(tail -n +2 "$SYSSCHEMES")
out2+=("^sep($YOUR_SCHEMES)")
if [[ "$1" =~ "sysinfo_" ]]; then
currcolors="${WINCLR}|${CLR}|${CLR0}|${CLR1}|${CLR2}|"
@ -781,8 +780,6 @@ if [[ "$OLD_SYNTAX" = "true" ]];then
do
((n=n+1))
out2+=("<tt>$(printf '%-20s' "${scheme_name}")</tt><big><span bgcolor='$winclr'> <span fgcolor='${clr}'></span> <span fgcolor='${clr0}'></span> <span fgcolor='${clr1}'></span> <span fgcolor='${clr2}'></span> </span></big>,conkyctl applyscheme usr $n ${1}")
#out2+=("<span bgcolor='$own_window_colour'> <span fgcolor='$default_color'></span> <span fgcolor='$color0'></span> <span fgcolor='$color1'></span> <span fgcolor='$color2'></span> </span> $schemetitle,conkyctl settheme $themefilename $1")
done < <(tail -n +2 "$USERSCHEMES")
out2+=("^sep($GENFROMWP)")