2024-05-26 18:09:34 -05:00
|
|
|
if ! command -v typora &>/dev/null; then
|
|
|
|
sudo snap install typora
|
|
|
|
cd ~/Downloads
|
|
|
|
git clone https://github.com/dhh/ia_typora
|
|
|
|
mkdir -p ~/.local/share/fonts
|
|
|
|
cp ia_typora/fonts/iAWriterMonoS-* ~/.local/share/fonts/
|
|
|
|
fc-cache
|
2024-05-26 20:40:15 -05:00
|
|
|
# FIXME: Make this version independent
|
2024-05-26 18:09:34 -05:00
|
|
|
mkdir -p ~/snap/typora/88/.config/Typora/themes/
|
|
|
|
cp ia_typora/ia_typora*.css ~/snap/typora/88/.config/Typora/themes/
|
|
|
|
cd -
|
|
|
|
fi
|