steppenwolf-dark/install.sh

35 lines
583 B
Bash
Raw Normal View History

2021-03-02 02:37:03 +00:00
#!/bin/sh
case $(whoami) in
root)
2021-11-30 04:00:16 +00:00
gtkDir=/usr/share/themes/lazerwolf
2021-03-02 02:37:03 +00:00
qtDir=/usr/share/color-schemes
plankdir=/usr/share/plank/themes
;;
*)
2021-11-30 04:00:16 +00:00
gtkDir=${HOME}/.themes/lazerwolf
2021-03-02 02:37:03 +00:00
qtDir=${HOME}/.local/share/color-schemes
plankDir=${HOME}/.local/share/plank/themes
;;
esac
if [ ! -d ${gtkDir} ]; then
mkdir -p ${gtkDir}
fi
if [ ! -d ${qtDir} ]; then
mkdir -p ${qtDir}
fi
if [ ! -d ${plankDir} ]; then
mkdir -p ${plankDir}
fi
cp -r gtk-* ${gtkDir}
2021-03-02 02:42:57 +00:00
cp -r img ${gtkDir}
cp index.theme ${gtkDir}
2021-03-02 02:37:03 +00:00
cp qt5/*.colors ${qtDir}
2021-03-02 02:42:57 +00:00
2021-03-02 02:37:03 +00:00
cp -r plank/* ${plankDir}