-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathrun_once_before_install_packages.sh
More file actions
53 lines (45 loc) · 1.55 KB
/
Copy pathrun_once_before_install_packages.sh
File metadata and controls
53 lines (45 loc) · 1.55 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
#!/bin/bash
# 1. Define your software list
PACKAGES=(
"alacritty" # Terminal
"ttf-jetbrains-mono" # Fonts
"ttf-jetbrains-mono-nerd"
"adw-gtk-theme" # <--- Added: Makes GTK3 apps look like Libadwaita
"zen-browser-bin" # Browser
"visual-studio-code-bin" # VS Code
"discord"
"spotify"
"solaar"
"bleachbit"
)
echo "🚀 Starting CachyOS Master Setup..."
# 2. Check for Paru
if ! command -v paru &> /dev/null; then
echo "Paru not found. Installing it..."
sudo pacman -S --needed base-devel
git clone https://aur.archlinux.org/paru.git
cd paru && makepkg -si && cd .. && rm -rf paru
fi
# 3. Install applications
echo "📦 Installing applications, fonts, and themes..."
paru -S --needed --noconfirm "${PACKAGES[@]}"
# 4. Apply the GTK Theme (Dark Mode)
# This ensures GTK3 apps use the new theme immediately
echo "🎨 Applying Adw-GTK3 Dark Theme..."
gsettings set org.gnome.desktop.interface gtk-theme 'adw-gtk3-dark'
gsettings set org.gnome.desktop.interface color-scheme 'prefer-dark'
# 5. Remove Firefox
if pacman -Qs firefox > /dev/null; then
echo "🗑️ Removing Firefox..."
sudo pacman -Rns --noconfirm firefox
else
echo "✅ Firefox is already gone."
fi
# 6. Install DankMaterialShell
if [ ! -d "$HOME/.config/DankMaterialShell" ]; then
echo "🎨 Installing DankMaterialShell via official script..."
curl -fsSL https://install.danklinux.com | sh
else
echo "✅ DankMaterialShell seems to be installed. Skipping."
fi
echo "✅ Software installation complete!"