#00<>55<>aa<>ff mised() { [ -z "${L:+s}" ] &&return 1 echo Y- $(xe -Q "$L") sed$(while [ $# -gt 0 ];do printf ' -e ';xe -Q s/"$1"/"$2"/; shift 2 ;done)|sh } termcolor() { [ -z "${L:+s}" ] &&return 1 Y- "$L" sed ${1:+-e 's/#000800/'"$1"'/'}`#black`\ ${2:+-e 's/#204020"/'"$2"'"/'}`#gray`\ ${3:+-e 's/#508850"/'"$3"'"/'}`#white`\ ${4:+-e 's/#682020"/'"$4"'"/'}`#R`\ ${5:+-e 's/#206820"/'"$5"'"/'}`#G`\ ${6:+-e 's/#685820"/'"$6"'"/'}`#gR`\ ${7:+-e 's/#583078"/'"$7"'"/'}`#B`\ ${8:+-e 's/#682058"/'"$8"'"/'}`#bR`\ ${9:+-e 's/#206858"/'"$9"'"/'}`#bG`\ ${10:+-e 's/#984848"/'"${10}"'"/'}`#R`\ ${11:+-e 's/#308830"/'"${11}"'"/'}`#G`\ ${12:+-e 's/#986830"/'"${12}"'"/'}`#gR`\ ${13:+-e 's/#684098"/'"${13}"'"/'}`#B`\ ${14:+-e 's/#882068"/'"${14}"'"/'}`#bR`\ ${15:+-e 's/#206878"/'"${15}"'"/'}`#bG`\ ${16:+-e 's/#cccccc"/'"${16}"'"/'}`#?`\ ${17:+-e 's/#555555"/'"${17}"'"/'}`#?` } miscolor() { [ -z "${L:+s}" ] &&return 1 Y- "$L" sed ${1:+-e 's/#000800/'"$1"'/'}`#black`\ ${2:+-e 's/#f8e888"/'"$2"'"/'}`#white`\ ${3:+-e 's/#006644"/'"$3"'"/'}`#accent`\ ${4:+-e 's/#00ffff"/'"$4"'"/'}`#accent` } FONTDIR="${SOLBASE}/share/fonts" FONTDEC=${FONTDEC:-"ypn envypn:pixelsize=13"} L="config.mk" [ -f "$L" ]&& ( Y- "$L" sed 's/PREFIX =/PREFIX?= /' ) L="config.h" [ -f "$L" ]&& ( Y- "$L" sed 's#monospace.*"#'"$FONTDEC"'"#' )