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
|
|
|
set -e
|
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
|
|
|
|
2020-11-21 18:07:26 +00:00
|
|
|
log 'Setting up theme'
|
|
|
|
|
2020-09-17 16:02:24 +00:00
|
|
|
case "$PM" in
|
|
|
|
apt)
|
|
|
|
sudo apt install -y \
|
|
|
|
lxappearance arc-theme qt5ct qt5-style-plugins
|
2020-09-22 04:24:32 +00:00
|
|
|
# install arc-icon-theme
|
|
|
|
git clone https://github.com/horst3180/arc-icon-theme --depth 1 /tmp/arc-icon-theme && cd /tmp/arc-icon-theme
|
|
|
|
./autogen.sh --prefix=/usr
|
|
|
|
sudo make install
|
|
|
|
rm -rf /tmp/arc-icon-theme
|
|
|
|
cd -
|
2020-09-17 16:02:24 +00:00
|
|
|
;;
|
|
|
|
pacman)
|
2020-11-21 18:07:26 +00:00
|
|
|
sudo pacman -S --noconfirm --needed \
|
2020-09-17 16:02:24 +00:00
|
|
|
lxappearance arc-gtk-theme arc-icon-theme qt5ct qt5-styleplugins
|
|
|
|
;;
|
2020-09-18 04:16:15 +00:00
|
|
|
esac
|
|
|
|
|