-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbspwm-st-2.sh.bak
45 lines (32 loc) · 1.53 KB
/
bspwm-st-2.sh.bak
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
#!/bin/bash
xdg-user-dirs-update
wget https://raw.githubusercontent.com/siduck/dotfiles/master/.Xresources
DISPLAYNAME=$(xrandr -q | awk '/connected primary/{print $1}')
DISPLAYNAME=${DISPLAYNAME:-"Virtual1"}
sed -i 's|Virtual1|'"${DISPLAYNAME}"'|g' .xinitrc
# get some configuration folders
svn checkout https://github.com/siduck/dotfiles/trunk/gtk/ .config/gtk
svn checkout https://github.com/siduck/dotfiles/trunk/alsa_stuff/ .config/alsa_stuff
svn checkout https://github.com/siduck/dotfiles/trunk/eww/ .config/eww
# Ranger installation
svn checkout https://github.com/siduck/dotfiles/trunk/cli_tools/ranger .config/ranger
ranger --copy-config=rifle
ranger --copy-config=commands
ranger --copy-config=scope
# Polybar Config
svn checkout https://github.com/siduck/dotfiles/trunk/polybar/polybar .config/polybar
sed -i 's/killall -q/pkill/g' .config/polybar/launch.sh
sed -i 's|eDP1|'"${DISPLAYNAME}"'|g' .config/polybar/config
# Rofi Config
svn checkout https://github.com/siduck/dotfiles/trunk/rofi/ .config/rofi
sed -i 's/Sarasa Nerd Font 14/Iosevka 12/g' .config/rofi/config.rasi
sed -i 's/forest/onedark/g' .config/rofi/config.rasi
# Picom Config
svn checkout https://github.com/siduck/dotfiles/trunk/picom/ .config/picom
# TODO nvchad install and config
git clone https://github.com/NvChad/NvChad ~/.config/nvim --depth 1
nvim +'hi NormalFloat guibg=#1e222a' +PackerSync
# TODO install eww https://elkowar.github.io/eww/
rm -rf .config/{bspwm,gtk,alsa_stuff,eww,ranger,polybar,rofi,picom}/.svn
source .bashrc
source .xinitrc