commit 99e738044a789aaa5c73e0ffa584eb21c9f21559 parent 506ed120484849a5b8032961832fbc813c745a0b Author: Markus Hanetzok <markus@hanetzok.net> Date: Tue, 9 Aug 2022 10:59:50 +0200 Add function to install libxft-bgra Diffstat:
M | zerog | | | 13 | +++++++++++++ |
1 file changed, 13 insertions(+), 0 deletions(-)
diff --git a/zerog b/zerog @@ -61,6 +61,19 @@ suckless() { done } +install_libxft-bgra() { + printf "### Installing libxft-bgra for emoji support <3 ###\n" + cd /tmp + sudo -u "$name" git clone https://github.com/uditkarode/libxft-bgra || + { warning "Could not clone libxft-bgra"; return 1; } + cd libxft-bgra + sudo -u "$name" sh autogen.sh --sysconfdir=/etc --prefix=/usr \ + --mandir=/usr/share/man || + { warning "Could not run autgen.sh"; return 1; } + make install || + { warning "Could not make install"; return 1; } +} + follow_up() { printf "### Finishing touches ###\n" chsh -s /bin/zsh "$name" >/dev/null 2>&1