This repository has been archived by the owner on Nov 10, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 46
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
linux: Update fontconfig install destination
The provided font config was being installed at: ~/.config/fontconfig/fonts.conf it is better to install at: ~/.config/fontconfig/conf.d/56-emojione-color.conf Adds uninstall.sh Fixes #29
- Loading branch information
Showing
3 changed files
with
27 additions
and
5 deletions.
There are no files selected for viewing
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
#!/bin/sh | ||
#https://github.com/eosrei/emojione-color-font | ||
echo "Emoji One Color font uninstaller for Linux\n" | ||
|
||
# Stop on errors | ||
set -e | ||
set -v | ||
|
||
# Set XDG_DATA_HOME to default if empty. | ||
if [ -z "$XDG_DATA_HOME" ];then | ||
XDG_DATA_HOME=$HOME/.local/share | ||
fi | ||
FONTCONFIG=$HOME/.config/fontconfig/conf.d | ||
|
||
rm -f $XDG_DATA_HOME/fonts/EmojiOneColor-SVGinOT.ttf | ||
rm -f $FONTCONFIG/fontconfig/56-emojione-color.conf | ||
|
||
echo "Clearing font cache" | ||
fc-cache -f | ||
|
||
echo "Done!" |