-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinstall.sh
77 lines (60 loc) · 1.75 KB
/
install.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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
echo "You should check the install.sh file and modify it first."
exit 1
## Packages
sudo pacman -Sy $(cat packages.dsv | cut -d' ' -f1)
# X Window System
sudo pacman -S awesome xorg-xbacklight xorg-xmodmap
# CLI utils
sudo pacman -S xclip hub openssh vim sudo stow zsh autojump physlock
# WiFi
sudo pacman -S wpa_supplicant dialog iw elinks
# Fonts
sudo pacman -S powerline-fonts otf-fira-code noto-fonts-emoji
# Sound
sudo pacman -S alsa-utils playerctl
# LightDM
sudo pacman -S lightdm lightdm-gtk-greeter
# Bluetooth (bluetoothctl)
sudo pacman -S bluez bluez-utils
# NVM git install
stow nvm
cd nvm
. nvm.sh
cd ..
# install vs code extensions
cat code-extensions.list | xargs -L 1 echo code --install-extension
## system config
sudo ln -sf $PWD/etc/X11/xorg.conf.d/00-keyboard.conf /etc/X11/xorg.conf.d/
sudo ln -sf $PWD/etc/locale.conf /etc/
sudo ln -sf $PWD/etc/lightdm/lightdm.conf /etc/lightdm
## Services
# disable Manjaro NetworkManager
sudo systemctl disable --now NetworkManager.service
sudo systemctl enable --now dhcpcd.service
sudo systemctl enable netctl-auto@interface.service
# enable a profile (in /etc/netctl/, maybe create with wifi-menu) to start at boot
# sudo netctl enable my-profile
sudo systemctl enable lightdm.service
## link user dotfiles
# this project should be cloned in $HOME/dotfiles
stow awesome
stow git
stow vsconf
stow zsh
stow arandr
stow nvm
stow vim
stow scripts
## user services
systemctl --user enable sleepprompt
systemctl --user enable sleepprompt.timer
## Tools
# unmute master with 'm' key
alsamixer
# configure WiFi
sudo wifi-menu
# check installed packages
grep -i installed /var/log/pacman.log
## run awesome in a nested X server for tests
## ctrl+shift to capture keyboard and mouse
Xephyr :5 & sleep 1 ; DISPLAY=:5 awesome