-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
69 lines (60 loc) · 1.72 KB
/
Makefile
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
.PHONY: ssh paru stow soft greetd misc mirrors essential
essential:
sudo pacman -S neovim age zsh stow rustup openssh ccache pigz pbzip2 pacman-contrib foot greetd-tuigreet
ssh:
@echo "Decrypting ssh keys"
mkdir ~/.ssh
age -d -o ~/.ssh/id_ed25519 ./ssh/.ssh/id_ed25519.age
paru:
@echo "Installing paru"
rustup default stable
git clone https://aur.archlinux.org/paru.git /tmp/paru
makepkg -si -D /tmp/paru
stow:
@echo "Linking configs"
stow --no-folding -Rv \
alacritty \
applications \
btop \
dunst \
foot \
git \
glow \
gtk \
home \
hyprland \
icons \
jamesdsp \
mangohud \
mpv \
mumble \
npm \
nvim \
pacman \
pulse \
rofi \
spotify \
ssh \
tmux \
waybar \
wireplumber \
yazi \
zsh
mirrors:
@echo "Updating mirrors"
curl -s "https://archlinux.org/mirrorlist/?country=BY&country=DE&country=LV&country=LT&country=NL&country=PL&country=RU&protocol=http&protocol=https&ip_version=4&use_mirror_status=on" | sed -e s/^#Server/Server/ -e /^#/d | rankmirrors -n 5 -m 0.2 - | sudo tee /etc/pacman.d/mirrorlist
paru -Sy
soft:
@echo "Installing soft"
paru -S $(shell tr '\n' ' ' < soft)
greetd:
sudo systemctl enable greetd.service
sudo sed -i 's/^command.*/command = "tuigreet --window-padding 2 --asterisks --remember --remember-session --time --width 50 --cmd Hyprland"/' /etc/greetd/config.toml
sudo chmod -R go+r /etc/greetd
sudo sed -i '6i auth optional pam_gnome_keyring.so' /etc/pam.d/greetd
sudo sed -i '$$a session optional pam_gnome_keyring.so auto_start' /etc/pam.d/greetd
misc:
sudo localectl set-locale LC_TIME=en_IE.UTF-8
chsh -s /usr/bin/zsh
sudo ln -s /usr/share/fontconfig/conf.avail/10-hinting-none.conf /etc/fonts/conf.d/
sudo usermod -a -G video $(shell whoami)