steppenwolf-dark/install.sh

31 lines
550 B
Bash
Raw Normal View History

2021-03-02 02:37:03 +00:00
#!/bin/sh
case $(whoami) in
root)
gtkDir=/usr/share/themes/steppenwolf-dark
qtDir=/usr/share/color-schemes
plankdir=/usr/share/plank/themes
;;
*)
gtkDir=${HOME}/.themes/steppenwolf-dark
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}
cp qt5/*.colors ${qtDir}
cp -r plank/* ${plankDir}