Skip to content

Commit

Permalink
fonts: switch to cryptofont (#66)
Browse files Browse the repository at this point in the history
  • Loading branch information
chadsr authored Apr 28, 2024
1 parent d2b401b commit 2943d60
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 9 deletions.
6 changes: 3 additions & 3 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[submodule ".submodules/cryptocoins"]
path = .submodules/cryptocoins
url = https://github.com/chadsr/cryptocoins.git
[submodule ".submodules/cryptofont"]
path = .submodules/cryptofont
url = https://github.com/Cryptofonts/cryptofont.git
branch = master
1 change: 0 additions & 1 deletion .submodules/cryptocoins
Submodule cryptocoins deleted from 5c8d68
1 change: 1 addition & 0 deletions .submodules/cryptofont
Submodule cryptofont added at 01ebf5
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ pip install --user --requirement <(poetry export --without=dev --format requirem
```shell
# Use ~/.local/share/fonts/TTF (user scope, recommended) or /usr/share/fonts/TTF (system scope)
mkdir -p ~/.local/share/fonts/TTF
ln -s ./.submodules/cryptocoins/webfont/cryptocoins.ttf ~/.local/share/fonts/TTF
ln -s ./.submodules/cryptofont/fonts/cryptofont.ttf ~/.local/share/fonts/TTF

# Rebuild font cache
fc-cache -f
Expand All @@ -55,7 +55,7 @@ fc-cache -f

```css
#custom-crypto {
font-family: cryptocoins, monospace;
font-family: cryptofont, monospace;
}
```

Expand Down
4 changes: 2 additions & 2 deletions config.ini.example
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@ display = price,change24h
api_key = your_coinmarketcap_api_key

[btc]
icon =
icon =
price_precision = 2
change_precision = 2
volume_precision = 2

[eth]
icon =
icon =
price_precision = 2
change_precision = 2
volume_precision = 2
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "waybar-crypto"
version = "v1.1.2"
version = "v1.2.1"
description = "A Waybar module for displaying cryptocurrency market information from CoinMarketCap."
authors = ["Ross <git@ross.ch>"]
license = "MIT"
Expand Down

0 comments on commit 2943d60

Please sign in to comment.