-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinstall.sh
More file actions
executable file
·78 lines (63 loc) · 3.33 KB
/
install.sh
File metadata and controls
executable file
·78 lines (63 loc) · 3.33 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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
#!/bin/bash
# macOS Tahoe Theme for Ubuntu - Main Installer
# Author: Elvis Munya
set -e
GREEN='\033[0;32m'
BLUE='\033[0;34m'
YELLOW='\033[1;33m'
NC='\033[0m'
echo -e "${BLUE}🍎 macOS Tahoe Theme for Ubuntu Installer${NC}"
echo "==========================================="
echo ""
sudo -v
echo -e "${BLUE}📦 Installing dependencies...${NC}"
sudo apt update
sudo apt install -y gnome-shell-extensions gnome-tweaks git curl wget unzip
echo -e "${BLUE}📥 Downloading WhiteSur themes...${NC}"
cd ~/Downloads
[ ! -d "WhiteSur-gtk-theme" ] && git clone https://github.com/vinceliuice/WhiteSur-gtk-theme.git
cd WhiteSur-gtk-theme && git pull && ./install.sh -t all -c Dark -c Light -N mojave
echo -e "${BLUE}🎨 Installing icons...${NC}"
cd ~/Downloads
[ ! -d "WhiteSur-icon-theme" ] && git clone https://github.com/vinceliuice/WhiteSur-icon-theme.git
cd WhiteSur-icon-theme && git pull && ./install.sh -a -b
echo -e "${BLUE}🖱️ Installing cursors...${NC}"
cd ~/Downloads
[ ! -d "WhiteSur-cursors" ] && git clone https://github.com/vinceliuice/WhiteSur-cursors.git
cd WhiteSur-cursors && git pull && ./install.sh
echo -e "${BLUE}🖼️ Installing wallpapers...${NC}"
cd ~/Downloads
[ ! -d "WhiteSur-wallpapers" ] && git clone https://github.com/vinceliuice/WhiteSur-wallpapers.git
cd WhiteSur-wallpapers && ./install-wallpapers.sh
sudo cp ~/Downloads/WhiteSur-wallpapers/1080p/*.jpg /usr/share/backgrounds/ 2>/dev/null || true
echo -e "${BLUE}🔌 Installing extensions...${NC}"
if [ ! -d ~/.local/share/gnome-shell/extensions/blur-my-shell@aunetx ]; then
cd /tmp && git clone https://github.com/aunetx/blur-my-shell.git
cd blur-my-shell && make install
fi
echo -e "${BLUE}⚙️ Configuring theme...${NC}"
gsettings set org.gnome.desktop.interface gtk-theme "WhiteSur-Dark"
gsettings set org.gnome.desktop.wm.preferences theme "WhiteSur-Dark"
gsettings set org.gnome.desktop.interface icon-theme "WhiteSur-dark"
gsettings set org.gnome.desktop.interface cursor-theme "WhiteSur-cursors"
gsettings set org.gnome.desktop.wm.preferences button-layout "close,minimize,maximize:"
gsettings set org.gnome.desktop.background picture-uri "file:///usr/share/backgrounds/WhiteSur-dark.jpg"
gsettings set org.gnome.desktop.background picture-uri-dark "file:///usr/share/backgrounds/WhiteSur-dark.jpg"
gsettings set org.gnome.desktop.interface enable-animations true
gsettings set org.gnome.desktop.interface color-scheme 'default'
gnome-extensions disable ubuntu-dock@ubuntu.com 2>/dev/null || true
gnome-extensions enable blur-my-shell@aunetx 2>/dev/null || true
gnome-extensions enable dash-to-dock@micxgx.gmail.com 2>/dev/null || true
dconf write /org/gnome/shell/extensions/dash-to-dock/dock-position "'BOTTOM'"
dconf write /org/gnome/shell/extensions/dash-to-dock/autohide true
dconf write /org/gnome/shell/extensions/dash-to-dock/dash-max-icon-size 48
dconf write /org/gnome/shell/extensions/dash-to-dock/show-show-apps-button true
dconf write /org/gnome/shell/extensions/dash-to-dock/zoom-enabled true
dconf write /org/gnome/shell/extensions/blur-my-shell/panel/blur true
dconf write /org/gnome/shell/extensions/blur-my-shell/panel/sigma 40
echo -e "${GREEN}✅ Installation Complete!${NC}"
echo ""
echo "Please log out and log back in to see changes."
echo "Use the included scripts to switch themes:"
echo " ./switch-to-light.sh - Light mode"
echo " ./switch-to-dark.sh - Dark mode"