dotfiles/apps/install.sh

32 lines
727 B
Bash
Raw Normal View History

2020-11-02 04:08:18 +00:00
#!/bin/sh
2020-09-17 16:02:24 +00:00
2020-11-02 04:08:18 +00:00
DIR=$(readlink -f "$(dirname "$0")")
. "$DIR/../env.sh"
2020-09-17 16:02:24 +00:00
# install office utilities
case "$PM" in
apt)
sudo apt install -y \
2020-09-21 01:58:06 +00:00
google-chrome-stable \
2020-09-17 16:02:24 +00:00
zathura zathura-pdf-poppler sxiv \
flameshot \
gimp
# libreoffice
sudo add-apt-repository -y ppa:libreoffice/libreoffice-7-0
sudo apt-get update
libreoffice \
2020-09-17 16:02:24 +00:00
;;
pacman)
2020-09-18 18:01:58 +00:00
sudo pacman -S --needed \
2020-09-17 16:02:24 +00:00
chromium \
zathura zathura-pdf-mupdf sxiv\
flameshot \
2020-09-17 16:02:24 +00:00
libreoffice-fresh \
gimp
;;
esac
# symlink configuration
2020-11-02 04:08:18 +00:00
lnsf "$DIR/config/zathura/zathurarc" "$XDG_CONFIG_HOME/zathura/zathurarc"