2020-11-02 04:08:18 +00:00
|
|
|
#!/bin/sh
|
2020-09-17 16:02:24 +00:00
|
|
|
|
2020-11-08 16:26:14 +00:00
|
|
|
DIR=$(dirname "$(readlink -f "$0")")
|
2020-11-02 04:08:18 +00:00
|
|
|
. "$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
|
2020-09-22 04:16:45 +00:00
|
|
|
# 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\
|
2020-09-22 04:16:45 +00:00
|
|
|
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"
|