modification to use st-aardbei if it exists

This commit is contained in:
Howland Owl 2017-07-22 18:46:47 +03:00
parent a432309f54
commit c4aa94a3fa

View file

@ -6,6 +6,10 @@ SIZE=`echo 16,12,14,10,9,8,72 | sed s/,/\\\n/g | dmenu -p Size -fn mOsOul-16 -sb
if [[ $PICK ]]; then
FONT=$PICK:pixelsize="$SIZE":antialias=false:autohint=false
echo st -f $FONT
st -f $FONT
if [[ -f ~/bin/st-aardbei ]]; then
st-aardbei -f $FONT
else
st -f $FONT
fi
fi