diff options
Diffstat (limited to 'st@zenith')
-rw-r--r-- | st@zenith/Makefile | 10 | ||||
-rwxr-xr-x | st@zenith/st | 15 |
2 files changed, 25 insertions, 0 deletions
diff --git a/st@zenith/Makefile b/st@zenith/Makefile new file mode 100644 index 0000000..70a49ee --- /dev/null +++ b/st@zenith/Makefile @@ -0,0 +1,10 @@ +.POSIX: + +install: + ../check-installed-shebang st + mkdir -p -- ~/.local/bin + ln -sf -- ~/.dotfiles/st@zenith/st ~/.local/bin/ + +uninstall: + +! ../check-installed st + -unlink -- ~/.local/bin/st diff --git a/st@zenith/st b/st@zenith/st new file mode 100755 index 0000000..ae7ad89 --- /dev/null +++ b/st@zenith/st @@ -0,0 +1,15 @@ +#!/bin/dash + +# TODO +#font="schumacher clean-11" +#font="DejaVu Sans Mono-10" +#font="Mono-9:autohint=true" +font="vectorfixed:pixelsize=11:antialias=false:autohint=false" +#font="Dina TTF Normal-8" +#font="-misc-fixed-medium-r-normal-*-14-*-*-*-c-*-utf-8" + +if test -x /usr/local/bin/st; then + exec /usr/local/bin/st -f "$font" "$@" +else + exec /usr/bin/st -f "$font" "$@" +fi |