steppenwolf-dark/install.sh

43 lines
805 B
Bash
Raw Permalink 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
2022-01-30 07:01:59 +00:00
plankDir=/usr/share/plank/themes
audaciousDir=/usr/share/audacious/Skins
2021-03-02 02:37:03 +00:00
;;
*)
gtkDir=${HOME}/.themes/steppenwolf-dark
qtDir=${HOME}/.local/share/color-schemes
plankDir=${HOME}/.local/share/plank/themes
2022-01-30 07:01:59 +00:00
audaciousDir=${HOME}/.local/share/audacious/Skins
2021-03-02 02:37:03 +00:00
;;
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
2022-01-30 07:01:59 +00:00
if [ ! -d ${audaciousDir} ]; then
mkdir -p ${audaciousDir}
fi
2021-03-02 02:37:03 +00:00
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}
2022-01-30 07:01:59 +00:00
cp -r audacious/steppenwolf ${audaciousDir}