This repository has been archived by the owner on Jul 15, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 64
/
macKali.sh
158 lines (132 loc) · 6.48 KB
/
macKali.sh
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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
#!/bin/bash
RED='\033[0;31m'
GREEN='\033[0;32m'
BROWN='\033[0;33m'
BLUE='\033[0;34m'
YELLOW='\033[1;33m'
CYAN='\033[1;36m'
NC='\033[0m' # No Color
clear
echo -e " ${BROWN}#####################################${NC}"
echo -e " ${BROWN}# macOS Theme for Kali Linux #${NC}"
echo -e " ${BROWN}#-----------------------------------#${NC}"
echo -e " ${BROWN}# Author : Nayeem Mahmood #${NC}"
echo -e " ${BROWN}# Email : alive.dew@gmail.com #${NC}"
echo -e " ${BROWN}# Facebook : fb.com/alive.nayeem #${NC}"
echo -e " ${BROWN}# GitHub : github.com/debugster #${NC}"
echo -e " ${BROWN}#####################################${NC}"
#Install required packages
echo -e "${CYAN}Starting : ${NC}${YELLOW}Attempting to install Required Packages : Curl, Gnome Tweak Tool, GTK Clutter${NC}"
xterm -e 'sh -c "echo Curl, Gnome Tweak Tool and GTK Clutter will be installed. Please enter your password.; sudo apt update; sudo apt install curl gnome-tweak-tool gir1.2-gtkclutter-1.0 -y"'
echo -e "${GREEN}Finished : ${NC}${YELLOW}Installing Packages : Curl, Gnome Tweak Tool, GTK Clutter${NC}"
echo -e "${CYAN}Starting : ${NC}${YELLOW}Downloading required files${NC}"
cd ~/Downloads/
curl -L -O https://www.dropbox.com/s/rga88t2i4n9mbxz/CustomizedPack.tar.xz
echo -e "${GREEN}Finished : ${NC}${YELLOW}Downloading required files${NC}"
[ ! -d CustomizedPack ] && mkdir -p CustomizedPack
tar xvf CustomizedPack.tar.xz -C CustomizedPack
clear
cd CustomizedPack
[ ! -d ~/.themes ] && mkdir -p ~/.themes
#[ ! -d ~/Downloads/Apple-Darwin-For-Plymouth/darwin ] && mkdir -p ~/Downloads/Apple-Darwin-For-Plymouth/darwin
[ ! -d ~/.icons ] && mkdir -p ~/.icons
[ ! -d ~/.local/share/fonts ] && mkdir -p ~/.local/share/fonts
[ ! -d ~/.local/share/gnome-shell/extensions ] && mkdir -p ~/.local/share/gnome-shell/extensions
#ls
echo -e "${GREEN}Copying Cursor Files${NC}"
cp -r Cursor/* ~/.icons/
echo -e "${GREEN}Copying Icon Files${NC}"
cp -r Icons/* ~/.icons/
echo -e "${GREEN}Copying Shell Files${NC}"
cp -r Shell/* ~/.themes/
echo -e "${GREEN}Copying Theme Files${NC}"
cp -r Themes/* ~/.themes/
#cp -r Apple-Darwin-For-Plymouth/darwin/* ~/Downloads/Apple-Darwin-For-Plymouth/darwin/
echo -e "${GREEN}Copying Fonts${NC}"
cp -r Fonts/* ~/.local/share/fonts/
echo -e "${GREEN}Copying Wallpapers${NC}"
cp -r Wallpapers/* ~/Pictures/
#Install the required gnome extensions
cd ~/Downloads/CustomizedPack/
echo -e "${CYAN}Starting : ${NC}${YELLOW}Installing required extensions${NC}"
#./gnome-ext-install.sh install user-theme@gnome-shell-extensions.gcampax.github.com dash-to-dock@micxgx.gmail.com blyr@yozoon.dev.gmail.com netspeed@hedayaty.gmail.com
./gnome-ext-install.sh install blyr@yozoon.dev.gmail.com netspeed@hedayaty.gmail.com
clear
echo -e "${GREEN}Finished : ${NC}${YELLOW}Blyr, Net Speed Monitor extensions are installed.${NC}"
#Changing UI
## Application Theme
echo -e "${BLUE}Changing Theme${NC}"
dconf write /org/gnome/desktop/interface/gtk-theme "'McOS-MJV-Dark-Mode'"
## Cursor
echo -e "${BLUE}Changing Cursor${NC}"
dconf write /org/gnome/desktop/interface/cursor-theme "'El_Capitan_CursorsMODNew'"
## Icons
echo -e "${BLUE}Changing Icons${NC}"
dconf write /org/gnome/desktop/interface/icon-theme "'MacRemix'"
## Shell
echo -e "${BLUE}Changing Shell${NC}"
dconf write /org/gnome/shell/extensions/user-theme/name "'MacOS_DARK'"
## Wallpaper
echo -e "${BLUE}Changing Wallpaper${NC}"
if [ $USER = "root" ]
then
dconf write /org/gnome/desktop/background/picture-uri "'file:///root/Pictures/macOS-mojave-Desert-6.jpg'"
else
dconf write /org/gnome/desktop/background/picture-uri "'file:///home/$USER/Pictures/macOS-mojave-Desert-6.jpg'"
fi
dconf write /org/gnome/desktop/background/picture-options "'zoom'"
## Lock Screen Wallpaper
echo -e "${BLUE}Changing Lock Screen Wallpaper${NC}"
if [ $USER = "root" ]
then
dconf write /org/gnome/desktop/screensaver/picture-uri "'file:///root/Pictures/macOS-mojave-Desert-6.jpg'"
else
dconf write /org/gnome/desktop/screensaver/picture-uri "'file:///home/$USER/Pictures/macOS-mojave-Desert-6.jpg'"
fi
dconf write /org/gnome/desktop/screensaver/picture-options "'zoom'"
## Show Desktop Icons
echo -e "${BLUE}Enabling Desktop Icons${NC}"
dconf write /org/gnome/desktop/background/show-desktop-icons "true"
## Button Layout
echo -e "${BLUE}Moving Title Buttons to Left${NC}"
dconf write /org/gnome/desktop/wm/preferences/button-layout "'close,minimize,maximize:'"
##### Dash To Dock
## Monitor Placement
echo -e "${BLUE}Showing Dock on Primary Monitor Only${NC}"
dconf write /org/gnome/shell/extensions/dash-to-dock/preferred-monitor "0"
## Dock Placement
echo -e "${BLUE}Changing Dock Position to Bottom${NC}"
dconf write /org/gnome/shell/extensions/dash-to-dock/dock-position "'BOTTOM'"
## Max Icon Size
echo -e "${BLUE}Setting Max Icon Size 32${NC}"
dconf write /org/gnome/shell/extensions/dash-to-dock/dash-max-icon-size "32"
## Autohide
echo -e "${BLUE}Enabling Dock Autohide${NC}"
dconf write /org/gnome/shell/extensions/dash-to-dock/dock-fixed "false"
## Show Launcher on Left
echo -e "${BLUE}Showing App Launcher on Left${NC}"
dconf write /org/gnome/shell/extensions/dash-to-dock/show-apps-at-top "true"
## Mouse Scroll Action
echo -e "${BLUE}Changing Mouse Scroll Action to Cycle Windows${NC}"
dconf write /org/gnome/shell/extensions/dash-to-dock/scroll-action "'cycle-windows'"
## Custom Dock Indicator
echo -e "${BLUE}Changing Dock Indicator${NC}"
dconf write /org/gnome/shell/extensions/dash-to-dock/custom-theme-running-dots "false"
dconf write /org/gnome/shell/extensions/dash-to-dock/custom-theme-customize-running-dots "false"
## Disable Custom Dock Shrink
echo -e "${BLUE}Disabling Custom Dock Shrink${NC}"
dconf write /org/gnome/shell/extensions/dash-to-dock/custom-theme-shrink "false"
## Dock Transparency Mode
echo -e "${BLUE}Changing Dock Transparency Mode${NC}"
dconf write /org/gnome/shell/extensions/dash-to-dock/transparency-mode "'DEFAULT'"
echo -e "${RED}Removing Downloaded Unnecessary Files${NC}"
cd ~/Downloads/
rm -rf CustomizedPack
rm CustomizedPack.tar.xz
#echo -e "${YELLOW}Uninstalling Ubuntu Dock (It might be seen on lock screen)${NC}"
#xterm -e 'sh -c "echo Ubuntu dock will be uninstalled. Please enter your password.; sudo apt-get remove gnome-shell-extension-ubuntu-dock; sudo apt update"'
echo -e "${CYAN}Theme Credit : ${NC}${GREEN}paulxfce${NC}"
echo -e "${CYAN}Shell Credit : ${NC}${GREEN}unc926${NC}"
echo -e "${CYAN}Cursor Credit : ${NC}${GREEN}dcomim | krourke${NC}"
echo -e "${CYAN}Icons Credit : ${NC}${GREEN}krourke | umayanga | zayronXIO${NC}"
echo -e "${GREEN}DONE. ENJOY ;)${NC}"