diff --git a/pickfontrand.sh b/pickfontrand.sh index 3bcab85..d89f06e 100755 --- a/pickfontrand.sh +++ b/pickfontrand.sh @@ -2,4 +2,9 @@ font=`fc-list | cut -d: -f2 | sort | uniq | shuf | dmenu -i -l 10` size=`echo what size|dmenu` -st -f "$font-$size" -t "st : $font-$size" $@ +if [[ -f ~/bin/st-aardbei ]]; then + st-aardbei -f "$font-$size" -t "st : $font-$size" $@ +else + st -f "$font-$size" -t "st : $font-$size" $@ +fi +