25 lines
732 B
Bash
Executable File
25 lines
732 B
Bash
Executable File
#!/bin/bash
|
|
# echo "Running: [sudo apt install gtk2-engines-murrine]"
|
|
# sudo apt install gtk2-engines-murrine
|
|
|
|
# Function to check if a directory exists
|
|
check_directory() {
|
|
if [ -d "$1" ]; then
|
|
return 0 # Directory exists
|
|
else
|
|
return 1 # Directory does not exist
|
|
fi
|
|
}
|
|
|
|
# Check if Colloid-icon-theme is installed
|
|
if check_directory "$HOME/.themes/Tokyonight-Dark/"; then
|
|
echo "Tokyonight dark theme already installed"
|
|
else
|
|
echo "Installing Tokyonight GTK theme"
|
|
DOWNLOAD_DIR="${XDG_DOWNLOAD_DIR:-$(xdg-user-dir DOWNLOAD)}"
|
|
cd $DOWNLOAD_DIR || exit
|
|
git clone https://github.com/Fausto-Korpsvart/Tokyonight-GTK-Theme.git
|
|
cd Tokyonight-GTK-Theme/themes || exit
|
|
bash install.sh
|
|
fi
|