-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup_arch
executable file
·47 lines (35 loc) · 1.11 KB
/
setup_arch
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
set -e
sudo pacman -Sy --noconfirm archlinux-keyring
sudo pacman -Syyu --noconfirm
sudo pacman -S --noconfirm --needed base-devel git
if ! command -v yay > /dev/null; then
if [[ ! -d ~/yay ]]; then
git clone https://aur.archlinux.org/yay.git ~/yay
fi
pushd ~/yay
makepkg -Csi --needed --noconfirm
popd
fi
cat ~/dotfiles/pacman.txt | yay -S --noconfirm --needed -
ln -sf ~/dotfiles/clipmenu_fontified ~/local/bin/clipmenu
sudo usermod -aG docker $USER
systemctl enable docker
systemctl start docker
systemctl enable NetworkManager
systemctl enable bluetooth
systemctl --user enable clipmenud
systemctl enable autorandr
# [xkeysnailをsystemdでデーモン化 - Qiita](https://qiita.com/samurai20000@github/items/2e1d779e806a7e8543d6)
sudo groupadd uinput
sudo usermod -aG input $USER
sudo usermod -aG uinput $USER
~/dotfiles/dotfiles_install.sh
sudo udevadm control --reload-rules && udevadm trigger
systemctl --user enable xkeysnail
systemctl --user start xkeysnail
~/dotfiles/powerline_fonts_install
~/dotfiles/rbenv_install.sh
~/dotfiles/yarn_setup.sh
~/dotfiles/go_setup
~/dotfiles/rust_setup