Lines 3-9
Link Here
|
3 |
echo "Wellcome to kbfx setup"; |
3 |
echo "Wellcome to kbfx setup"; |
4 |
|
4 |
|
5 |
mkdir -p ~/.kbfx/bartheme/vista |
5 |
sed -e 's/siraj/'${USER}'/g' /usr/share/kbfx/kbfxrc > ~/.kde/share/config/kbfxrc |
6 |
tar zxvf vista.tar.gz -C ~/.kbfx/bartheme/vista/ |
6 |
|
7 |
cp ./kbfxrc ~/.kde/share/config/ |
7 |
case $1 in |
8 |
dcop kicker Panel addApplet `kde-config --prefix`/share/apps/kicker/applets/kbfxvista.desktop |
8 |
"slate" ) |
9 |
echo "done" |
9 |
echo "Theme : slate" |
|
|
10 |
mkdir -p ~/.kbfx/bartheme/slate |
11 |
tar zxvf /usr/share/kbfx/slate.tar.gz -C ~/.kbfx/bartheme/slate |
12 |
mv ~/.kbfx/bartheme/slate/xp2_1/* ~/.kbfx/bartheme/slate/ |
13 |
rmdir ~/.kbfx/bartheme/slate/xp2_1 |
14 |
sed -i -e 's/vista/slate/g' ~/.kde/share/config/kbfxrc |
15 |
;; |
16 |
* ) |
17 |
echo "Theme : vista" |
18 |
mkdir -p ~/.kbfx/bartheme/vista |
19 |
tar zxvf /usr/share/kbfx/vista.tar.gz -C ~/.kbfx/bartheme/vista/ |
20 |
;; |
21 |
esac |
22 |
|
23 |
dcop kicker Panel addApplet /usr/share/apps/kicker/applets/kbfxvista.desktop |
24 |
|
25 |
echo "...done" |
26 |
|