#!/bin/bash
# Instalator motywu macOS WhiteSur dla Linux Mint Cinnamon (bez aktualizacji systemu)
echo "==> Instalacja motywu macOS WhiteSur..."
sudo apt install -y git plank materia-gtk-theme papirus-icon-theme
cd ~/Downloads
echo "==> Pobieranie motywu WhiteSur (jasny i ciemny)..."
git clone https://github.com/vinceliuice/WhiteSur-gtk-theme.git
cd WhiteSur-gtk-theme
./install.sh -t all -c Light -i ubuntu
./install.sh -t all -c Dark -i ubuntu
cd ..
echo "==> Pobieranie ikon WhiteSur..."
git clone https://github.com/vinceliuice/WhiteSur-icon-theme.git
cd WhiteSur-icon-theme
./install.sh -a
cd ..
echo "==> Pobieranie kursorów WhiteSur..."
git clone https://github.com/vinceliuice/WhiteSur-cursors.git
cd WhiteSur-cursors
sudo ./install.sh
cd ..
echo "==> Pobieranie tapet WhiteSur..."
git clone https://github.com/vinceliuice/WhiteSur-wallpapers.git
sudo mkdir -p /usr/share/backgrounds/WhiteSur
sudo cp WhiteSur-wallpapers/* /usr/share/backgrounds/WhiteSur/
echo "==> Przenoszenie przycisków okien na lewą stronę (macOS style)..."
gsettings set org.cinnamon.desktop.wm.preferences button-layout 'close,minimize,maximize:'
echo ""
echo " Gotowe!"
echo "➡ Otwórz Ustawienia → Motywy i wybierz WhiteSur-Dark lub WhiteSur-Light."
echo "➡ Uruchom Plank, aby uzyskać dock w stylu macOS."
echo " Miłego korzystania z twojego MintBooka "