dotfiles/helpers/install_gtk-theme-collections.sh

15 lines
292 B
Bash
Raw Normal View History

2021-01-27 21:11:21 +00:00
#!/bin/bash
GTK_THEMES_DIR="$HOME/.themes"
if [[ ! -d "$GTK_THEMES_DIR" ]]; then
mkdir -p "$GTK_THEMES_DIR"
fi
2021-01-27 21:38:26 +00:00
if [[ $(ls -A $GTK_THEMES_DIR) ]]; then
git -C "$GTK_THEMES_DIR" pull
2021-01-27 21:11:21 +00:00
else
2021-01-27 21:38:26 +00:00
git clone https://github.com/addy-dclxvi/gtk-theme-collections.git "$GTK_THEMES_DIR"
2021-01-27 21:11:21 +00:00
fi