sunhat/install/app-typora.sh
David Heinemeier Hansson f1e550b374 Not needed
2024-06-04 13:35:27 -07:00

11 lines
447 B
Bash

if ! command -v typora &>/dev/null; then
wget -qO - https://typoraio.cn/linux/public-key.asc | sudo tee /etc/apt/trusted.gpg.d/typora.asc
sudo add-apt-repository 'deb https://typora.io/linux ./'
sudo apt-get update
sudo apt-get install -y typora
# Add iA Typora theme
ln -s ~/.local/share/omakub/themes/typora/ia_typora.css ~/.config/Typora/themes/
ln -s ~/.local/share/omakub/themes/typora/ia_typora_night.css ~/.config/Typora/themes/
fi