kotajacob / wal_steam

A little script that themes the colours for Metro for steam from wal or wpg.
MIT License
145 stars 16 forks source link

Add option to change the default font #69

Closed Tardog closed 5 years ago

Tardog commented 5 years ago

This implements the enhancement proposed in #57 by providing an additional CLI option for specifying a custom font.

Since there are four different font styles to be taken into consideration (base, semibold, semilight, and light), the option takes a comma-separated list of fonts, one for each style. There are no separate options for OSX fonts; the script simply replaces all default font definitions with the specified custom fonts.

For example, if you want to apply colours from wal and replace the default font with Ubuntu, run the script like this:

wal_steam.py -w --fonts 'Ubuntu, Ubuntu Bold, Ubuntu Medium, Ubuntu Light'

Screenshot with Ubuntu font applied: metro-ubuntu-font

kotajacob commented 5 years ago

Code looks great thank you! I should be good to push out a new update after a bit of testing quick.

also this was a great idea

CLI_RED    = "\033[91m"
CLI_YELLOW = "\033[93m"
CLI_BOLD   = "\033[1m"
CLI_END    = "\033[0m"