st

Luke's fork of the suckless terminal: vim-bindings, Xresrouces colors, transparency
Log | Files | Refs | README | LICENSE

commit 4c05d1cef30cee4e05698d067f5c9f5e44a1eba2
parent f0b7aeeb53aab8e15f46dacfcbd03994e3be881c
Author: Luke Smith <luke@lukesmith.xyz>
Date:   Fri,  7 Feb 2020 22:44:19 -0500

font display fixes

Diffstat:
MREADME.md | 6++++--
Mconfig.h | 4++--
2 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/README.md b/README.md @@ -20,7 +20,7 @@ The [suckless terminal (st)](https://st.suckless.org/) with some additional feat + Compatibility with `Xresources` and `pywal` for dynamic colors. The `Xdefaults` file shows a usage example. + Default [gruvbox](https://github.com/morhetz/gruvbox) colors otherwise. + Transparency/alpha, which is also adjustable from your `Xresources`. -+ Default font is system "mono" at 16pt, meaning the font will match your system font. ++ Default font is system "mono" at 14pt, meaning the font will match your system font. ## Other st patches @@ -70,10 +70,12 @@ To be clear about the color settings: Note that when you run `wal`, it will negate the transparency of existing windows, but new windows will continue with the previously defined transparency. -## Crashing error +## Notes on Emojis and Special Characters If st crashes when viewing emojis, install [libxft-bgra](https://aur.archlinux.org/packages/libxft-bgra/) from the AUR. +Note that some special characters may appear truncated if too wide. You might want to manually set your prefered emoji/special character font to a lower size in the `config.h` file to avoid this. By default, JoyPixels is used at a smaller size than the usual text. + ## Contact - Luke Smith <luke@lukesmith.xyz> diff --git a/config.h b/config.h @@ -5,8 +5,8 @@ * * font: see http://freedesktop.org/software/fontconfig/fontconfig-user.html */ -static char *font = "mono:pixelsize=16:antialias=true:autohint=true"; -static char *font2[] = { "Inconsolata for Powerline:pixelsize=16:antialias=true:autohint=true" }; +static char *font = "mono:pixelsize=14:antialias=true:autohint=true"; +static char *font2[] = { "JoyPixels:pixelsize=10:antialias=true:autohint=true" }; static int borderpx = 2; /*