This repository was archived by the owner on Jun 12, 2025. It is now read-only.
forked from gjpin/arch-linux
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path2_arch_post_install.sh
More file actions
56 lines (42 loc) · 2.34 KB
/
2_arch_post_install.sh
File metadata and controls
56 lines (42 loc) · 2.34 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
#!/bin/bash
echo "Downloading and running base script"
wget https://raw.githubusercontent.com/luca-a/minimal-arch-linux/master/2_base.sh
chmod +x 2_base.sh
sh ./2_base.sh
echo "Creating user's folders"
yes | sudo pacman -S xdg-user-dirs
echo "Installing Alacritty terminal"
yes | sudo pacman -S alacritty
echo "Installing office applications"
yes | sudo pacman -S tumbler evince
echo "Installing cursor theme"
yes | sudo pacman -S capitaine-cursors
echo "Importing sway specific zsh configurations"
wget -P ~/ https://raw.githubusercontent.com/luca-a/minimal-arch-linux/master/configs/zsh/sway/.zprofile
mkdir -p ~/.zshrc.d
wget -P ~/.zshrc.d https://raw.githubusercontent.com/luca-a/minimal-arch-linux/master/configs/zsh/sway/.zshrc.d/environ.zsh
wget -P ~/.zshrc.d https://raw.githubusercontent.com/luca-a/minimal-arch-linux/master/configs/zsh/sway/.zshrc.d/wayland.zsh
echo "Installing Material Design icons"
sudo mkdir -p /usr/share/fonts/TTF/
sudo wget -P /usr/share/fonts/TTF/ https://raw.githubusercontent.com/Templarian/MaterialDesign-Webfont/master/fonts/materialdesignicons-webfont.ttf
echo "Installing sway and additional packages"
yes | sudo pacman -S sway swaylock swayidle waybar wl-clipboard pulseaudio pavucontrol rofi slurp grim thunar mousepad nnn light feh qalculate-gtk
mkdir -p ~/.config/sway
wget -P ~/.config/sway/ https://raw.githubusercontent.com/luca-a/minimal-arch-linux/master/configs/sway/config
mkdir -p ~/Pictures/screenshots
echo "Enabling auto-mount for thunar"
yes | sudo pacman -S gvfs thunar-volman
echo "Setting wallpaper"
mkdir -p ~/Pictures/wallpapers
wget -P ~/Pictures/wallpapers/ https://raw.githubusercontent.com/luca-a/minimal-arch-linux/master/wallpaper/westboundary-unsplash.jpg
echo "Ricing waybar"
mkdir -p ~/.config/waybar
wget -P ~/.config/waybar https://raw.githubusercontent.com/luca-a/minimal-arch-linux/master/configs/waybar/config
wget -P ~/.config/waybar https://raw.githubusercontent.com/luca-a/minimal-arch-linux/master/configs/waybar/style.css
echo "Ricing Alacritty"
mkdir -p ~/.config/alacritty
wget -P ~/.config/alacritty https://raw.githubusercontent.com/luca-a/minimal-arch-linux/master/configs/alacritty/alacritty.yml
echo "Ricing rofi"
mkdir -p ~/.config/rofi
wget -P ~/.config/rofi https://raw.githubusercontent.com/luca-a/minimal-arch-linux/master/configs/rofi/config
echo "Your setup is ready. You can reboot now!"