-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy patharch_bootstrapper.sh
More file actions
executable file
·30 lines (21 loc) · 998 Bytes
/
arch_bootstrapper.sh
File metadata and controls
executable file
·30 lines (21 loc) · 998 Bytes
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
#!/usr/bin/env bash
set -e
echo "=== Syncing and updating system ==="
sudo pacman -Syu --needed
echo "=== Calling package installation script ==="
bash arch_sync_packages.sh
echo "=== Enabling necessary services ==="
sudo systemctl enable --now NetworkManager bluetooth bluetooth.service
echo "=== Enabling user-level services ==="
sudo loginctl enable-linger "$USER"
systemctl --user enable --now pipewire.socket pipewire-pulse.socket
echo "=== Stowing dotfiles ==="
cd ~/dotfiles
rm ~/.bashrc ~/.bash_profile
stow bash ghostty git i3 nvim picom polybar rofi scripts tmux vim dunst wallpapers lazygit
sudo cp ~/dotfiles/custom_symlinks/99-touchpad.conf /etc/X11/xorg.conf.d/99-touchpad.conf || echo "[WARNING] Failed to copy config for touch pad"
echo "=== Setting default background image ==="
feh --bg-scale ~/Pictures/Wallpapers/arch_linux.png
echo "=== Installation complete! ==="
echo "Make sure your ~/.xinitrc runs i3 (exec i3)"
echo "Reboot or relogin to start your environment."