st-aardbei / st fallback

This commit is contained in:
Howland Owl 2017-07-22 18:51:49 +03:00
parent 34a0fc3ed5
commit 44bb9cbdc3

View file

@ -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