conky cd
This commit is contained in:
parent
e1cabc24a3
commit
ef0491023f
@ -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+=("<big>綠</big> <span font_family=\"${fon}\">${fon}</span>,$me") || out2+=("<big>祿</big> <span font_family=\"${fon}\">${fon}</span>,mb-setvar 'font_name=\"${fon}\"' $Q_CFG;conkyctl restartone ${1}")
|
||||
[[ "$fon" == "$font_name" ]] && out2+=("<big>綠</big> <span font_family=\"${fon}\">${fon}</span>,$me") || out2+=("<big>祿</big> <span font_family=\"${fon}\">${fon}</span>,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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user