-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.sh
More file actions
61 lines (49 loc) · 1.16 KB
/
Copy pathsetup.sh
File metadata and controls
61 lines (49 loc) · 1.16 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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
#!/bin/bash
git remote set-url origin ssh://git@github.com/ealexandrohin/dotfiles.git
(
cd .deps/ || exit
makepkg -si
)
(
git clone https://aur.archlinux.org/yay-bin.git
cd yay-bin || exit
makepkg -si
yay -Y --gendb
yay -Syu --devel
yay -Y --devel --save
)
(
cd .aur/ || exit
yay -Bi .
)
(
sudo mv /etc/ly/config.ini /etc/ly/config.ini.backup
sudo ln -s ~/.config/ly/config.ini /etc/ly/config.ini
)
(
sudo cp /etc/vconsole.conf /etc/vconsole.conf.backup
awk -F= 'NR==FNR{a[$1]=$0;next} $1 in a{print a[$1];delete a[$1];next} {print} END{for(k in a)print a[k]}' ~/.config/ly/vconsole.conf /etc/vconsole.conf >/tmp/vconsole.conf
sudo mv /tmp/vconsole.conf /etc/vconsole.conf
sudo mkinitcpio -P
)
(
sudo cp /usr/share/applications/Alacritty.desktop /usr/share/applications/Alacritty-open.desktop
sudo sed -i "s/^Exec=alacritty$/Exec=alacritty --working-directory %U/" /usr/share/applications/Alacritty-open.desktop
)
(
sudo mkdir /hdd
sudo mkdir /usb
sudo mkdir /ventoy
sudo mkdir /windows
sudo chown alex:alex /hdd /usb /ventoy /windows
)
(
zsh
chsh -s /usr/bin/zsh
)
(
sudo systemctl enable --now v2raya
)
(
mkdir Pictures
)