sunhat/install/app-typora.sh

11 lines
447 B
Bash
Raw Normal View History

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 ./'
2024-06-04 15:35:27 -05:00
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/
2024-05-26 18:09:34 -05:00
fi