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