diff --git a/share/mabox-colorizer/conky/images/mabox_3d.png b/share/mabox-colorizer/conky/images/mabox_3d.png new file mode 100644 index 0000000..20b44dc Binary files /dev/null and b/share/mabox-colorizer/conky/images/mabox_3d.png differ diff --git a/share/mabox-colorizer/conky/quoter_mbcolor.conkyrc b/share/mabox-colorizer/conky/quoter_mbcolor.conkyrc index 0abdad4..3ff3e90 100644 --- a/share/mabox-colorizer/conky/quoter_mbcolor.conkyrc +++ b/share/mabox-colorizer/conky/quoter_mbcolor.conkyrc @@ -62,7 +62,7 @@ conky.config = { }; conky.text = [[ -${execpi 120 quote.sh} +${execpi 1200 $HOME/.config/conky/scripts/quote.sh} ]]; diff --git a/share/mabox-colorizer/conky/scripts/quote.sh b/share/mabox-colorizer/conky/scripts/quote.sh new file mode 100755 index 0000000..fa7d51b --- /dev/null +++ b/share/mabox-colorizer/conky/scripts/quote.sh @@ -0,0 +1,13 @@ +#!/bin/bash +DIR="$HOME/.config/quoter" +mkdir -p "$DIR" + +export Q=$(curl -s "http://api.forismatic.com/api/1.0/?method=getQuote&format=json&lang=en" | sed 's|\\||g' ) +QUOTE=$(echo $Q | jq .quoteText) +AUTOR=$(echo $Q | jq .quoteAuthor | tr -d '"') +echo "${QUOTE}|${AUTOR}" >> "${DIR}"/forismatic.txt + +printf "\${font Droid Sans:size=18}\${color}" +echo ${QUOTE} | fmt -80 +printf "\${font Droid Sans:size=12}\${alignr}\${color0}" +echo "— ${AUTOR}" diff --git a/share/mabox-colorizer/help/en.html b/share/mabox-colorizer/help/en.html new file mode 100644 index 0000000..1e9a51d --- /dev/null +++ b/share/mabox-colorizer/help/en.html @@ -0,0 +1,119 @@ + + +
a tool to easily customize your Mabox Linux Desktop
+ +