forked from ojroques/dotfiles
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.sh
executable file
·47 lines (35 loc) · 1.14 KB
/
config.sh
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
35
36
37
38
39
40
41
42
43
44
45
46
47
#!/bin/bash
set -e
CONFIG_DIR="$HOME"/.config
echo "DOTFILES CONFIGURATION"
echo "------------------------------------------------------------"
mkdir -vp "$CONFIG_DIR"
mkdir -vp "$CONFIG_DIR"/nvim
mkdir -vp "$HOME"/.local/bin
mkdir -vp "$HOME"/.tmp
mkdir -vp "$HOME"/Documents
mkdir -vp "$HOME"/Downloads
echo "[BASH]"
cp -vr bash/.shell "$HOME"
cp -v bash/.bashrc "$HOME"
echo "[GIT]"
cp -v git/.gitconfig "$HOME"
echo "[KITTY]"
cp -vr kitty/ "$CONFIG_DIR"
echo "[NEOVIM]"
cp -v nvim/init.lua "$CONFIG_DIR"/nvim
cp -v nvim/nvimc.py "$HOME"/.local/bin/nvimc
echo "[ROFI]"
cp -vr rofi/ "$CONFIG_DIR"
echo "[VIM]"
cp -v vim/.vimrc "$HOME"
if [[ -d "$CONFIG_DIR"/xfce4/xfconf/xfce-perchannel-xml ]]; then
echo "[THUNAR]"
cp -v xfce/thunar.xml "$CONFIG_DIR"/xfce4/xfconf/xfce-perchannel-xml/
echo "[XFCE]"
cp -v xfce/keyboards.xml "$CONFIG_DIR"/xfce4/xfconf/xfce-perchannel-xml/
cp -v xfce/keyboard-layout.xml "$CONFIG_DIR"/xfce4/xfconf/xfce-perchannel-xml/
cp -v xfce/xfce4-keyboard-shortcuts.xml "$CONFIG_DIR"/xfce4/xfconf/xfce-perchannel-xml/
fi
echo "------------------------------------------------------------"
echo "Configuration done."