diff --git a/Makefile b/Makefile index 1272792..1255ddc 100644 --- a/Makefile +++ b/Makefile @@ -17,7 +17,7 @@ options: config.h: sed "s/HOSTNAME/$(shell cat /etc/hostname)/; \ - s/FONT/\"$(shell ./getfont.sh freedesktop)\"/" \ + s/FONT/\"$(shell ../getfont.sh freedesktop)\"/" \ config.def.h > config.h .c.o: diff --git a/getfont.sh b/getfont.sh deleted file mode 100755 index 764d13b..0000000 --- a/getfont.sh +++ /dev/null @@ -1,14 +0,0 @@ -#!/usr/bin/env bash - -function is_display_large { - echo yes -} - -[[ $(is_display_large) ]] && FONT="Fira Code" || FONT="curie" -[[ $(is_display_large) ]] && SIZE="15" || SIZE="10" -[[ $(is_display_large) ]] || BITMAP="true" - -case $1 in - pango) [[ $BITMAP ]] && echo ${FONT} wrapped $SIZE || echo $FONT $SIZE ;; - freedesktop) [[ $BITMAP ]] && echo ${FONT} || echo ${FONT}:pizelsize=${SIZE} ;; -esac