aboutsummaryrefslogtreecommitdiff
path: root/install.sh
blob: 5bed26c303ca7954ee61b34aa1b7a77e6dbe669b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
#!/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 -r img ${gtkDir}
cp index.theme ${gtkDir}

cp qt5/*.colors ${qtDir}

cp -r plank/* ${plankDir}