bye lavanda
This commit is contained in:
parent
8db9dab4f8
commit
eeb882b3ae
@ -1,25 +0,0 @@
|
||||
#!/bin/sh
|
||||
# credit: https://github.com/drewgrif/bookworm-scripts
|
||||
|
||||
# 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 Lavanda-gtk-theme is installed
|
||||
if check_directory "$HOME/.themes/Lavanda-Dark"; then
|
||||
echo "Lavanda gtk theme is already installed."
|
||||
else
|
||||
echo "Installing Lavanda-gtk-theme..."
|
||||
DOWNLOAD_DIR="${XDG_DOWNLOAD_DIR:-$(xdg-user-dir DOWNLOAD)}"
|
||||
cd $DOWNLOAD_DIR || exit
|
||||
git clone https://github.com/vinceliuice/Lavanda-gtk-theme
|
||||
cd Lavanda-gtk-theme
|
||||
bash install.sh
|
||||
rm -rf $DOWNLOAD_DIR/Lavanda-gtk-theme
|
||||
echo "Finished installing Lavanda-gtk-theme"
|
||||
fi
|
||||
Loading…
x
Reference in New Issue
Block a user