Advertisement
Red-ex

infinality

Apr 27th, 2018
173
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.72 KB | None | 0 0
  1. #!/usr/bin/bash
  2. #
  3. #Install some fonts
  4. yum --enablerepo=StotinkaOS-Base install ubuntu-fonts google-roboto-fonts google-roboto-mono-fonts bitstream-vera* -y
  5. yum --enablerepo=nux-dextop install cairo libXft fontconfig-infinality freetype-infinality -y
  6.  
  7. #Download OTF SF Pro & Monaco fonts
  8. cd /usr/share/fonts
  9. wget -O - "https://www.dropbox.com/s/5nf6isrp44rzf3p/OTF.tar.gz" | tar xzf -
  10.  
  11. #Create an index of X font files in a directory
  12. cd OTF && mkfontdir
  13.  
  14. #Go to parent folder & update font cache
  15. cd .. && fc-cache -fv
  16.  
  17. #Download infinality.conf
  18. cd /etc/fonts/infinality/ && mv infinality.conf infinality.conf.bak
  19. wget -O infinality.conf https://pastebin.com/raw/DXsRTLmt
  20.  
  21. #Choose a rendering style
  22. ./infctl.sh setstyle
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement