-
Notifications
You must be signed in to change notification settings - Fork 14
Expand file tree
/
Copy pathinstall.sh
More file actions
executable file
·38 lines (27 loc) · 1.15 KB
/
install.sh
File metadata and controls
executable file
·38 lines (27 loc) · 1.15 KB
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
#!/usr/bin/env sh
echo "Copying configurations..."
# URxvt config
cp -r $PWD/.config/.Xresources $HOME/.config/.Xresources
# bspwm and sxhkd config
[ ! -d "$HOME/.config/bspwm" ] && mkdir -p $HOME/.config/bspwm/
cp -r $PWD/.config/bspwm/bspwmrc $HOME/.config/bspwm/bspwmrc
[ ! -d "$HOME/.config/sxhkd" ] && mkdir -p $HOME/.config/sxhkd/
cp -r $PWD/.config/sxhkd/sxhkdrc $HOME/.config/sxhkd/sxhkdrc
# polybar config
[ ! -d "$HOME/.config/polybar" ] && mkdir -p $HOME/.config/polybar/scripts
cp -r $PWD/.config/polybar/* $HOME/.config/polybar
# picom config
cp -r $PWD/.config/picom.conf $HOME/.config/picom.conf
# zsh config
cp -r $PWD/.config/.zshrc $HOME/.zshrc
cp -r $PWD/.config/.zshrc $HOME/.config/.zshrc
echo "Installing zsh plugins..."
cp -r $PWD/scripts/* $HOME/stuff/scripts/
# font
echo "Installing Iosevka nerd font..."
[ ! -d "$HOME/.local/share/Iosevka" ] && mkdir -p $HOME/.local/share/fonts/Iosevka/
git clone https://github.com/notusknot/Iosevka-nerd $HOME/.local/share/fonts/Iosevka/
# wallpaper
[ ! -d "$HOME/stuff/pictures/wallpapers" ] && mkdir -p $HOME/stuff/pictures/wallpapers
cp -r $PWD/nord.jpg $HOME/stuff/pictures/wallpapers
bspc wm -r