diff --git a/bin/conkyctl b/bin/conkyctl index dbd5884..871f034 100755 --- a/bin/conkyctl +++ b/bin/conkyctl @@ -766,7 +766,7 @@ if [[ "$OLD_SYNTAX" = "true" ]];then if [ "${#favfonts[@]}" -gt 0 ];then out2+=("^sep($FONTFAMILY_LBL)") for fon in "${favfonts[@]}";do - [[ "$FONT" == "$fon" ]] && out2+=(" ${fon},$me") || out2+=(" ${fon},mb-setvar 'font_name=\"${fon}\"' $Q_CFG;conkyctl restartone ${1}") + [[ "$fon" == "$font_name" ]] && out2+=(" ${fon},$me") || out2+=(" ${fon},mb-setvar 'font_name=\"${fon}\"' $Q_CFG;conkyctl restartone ${1}") done fi fi @@ -1421,5 +1421,6 @@ case "$1" in baseconky_info) baseconky_info;; mono) mono "$2" "$3";; monoone) monoone "$2" "$3" "$4";; + fix_transparent_conkies)fix_transparent_conkies;; *) : ;; esac diff --git a/bin/w2theme b/bin/w2theme index 90e26f5..46f7369 100755 --- a/bin/w2theme +++ b/bin/w2theme @@ -102,6 +102,7 @@ conky_colors() { #bars/graphs color #random conkyctl color2_all "${accents[ $RANDOM % ${#accents[@]} ]}" + conkyctl fix_transparent_conkies } conky_colorsone () { @@ -120,7 +121,7 @@ conky_colorsone () { conkyctl color1 "${w[5]}" "${2}" ;; esac - conkyctl color2_all "${accents[ $RANDOM % ${#accents[@]} ]}" "${2}" + #conkyctl color2_all "${accents[ $RANDOM % ${#accents[@]} ]}" "${2}" } pyradio_theme() { case "$1" in