diff options
author | Mattias Andrée <maandree@kth.se> | 2024-05-06 10:17:18 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2024-05-06 10:17:18 +0200 |
commit | 9e61d4b3a6c16ea7e914956a571849d14c0e0baf (patch) | |
tree | 404c2545e9618a224822ea7fcf3125762d866358 /st@zenith | |
parent | ... (diff) | |
download | dotfiles-9e61d4b3a6c16ea7e914956a571849d14c0e0baf.tar.gz dotfiles-9e61d4b3a6c16ea7e914956a571849d14c0e0baf.tar.bz2 dotfiles-9e61d4b3a6c16ea7e914956a571849d14c0e0baf.tar.xz |
Update clawsrc and make python and st exclusive to zenith
Signed-off-by: Mattias Andrée <maandree@kth.se>
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 |