sunhat/install/app-typora.sh

12 lines
383 B
Bash
Raw Normal View History

if [ -n "$FORCE" ] || ! command -v typora &>/dev/null; then
2024-05-26 18:09:34 -05:00
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
mkdir -p ~/snap/typora/current/.config/Typora/themes/
cp ia_typora/ia_typora*.css ~/snap/typora/current/.config/Typora/themes/
2024-05-26 18:09:34 -05:00
cd -
fi