chore: Update fleek theme command to make sure fleek is installed first, rename to match install-fleek

This commit is contained in:
Kyle Gospodnetich 2023-09-02 17:01:29 -07:00
parent 814ef3b46b
commit e8fcfbcef3
2 changed files with 28 additions and 20 deletions

View File

@ -69,19 +69,25 @@ remove-nix:
install-fleek:
#!/usr/bin/env bash
mkdir -p $HOME/.config/nix
echo "experimental-features = nix-command flakes" >> $HOME/.config/nix/nix.conf
curl -fsSL https://getfleek.dev/installer | env FORCE=1 bash
fleek-install-themes:
#!/usr/bin/env bash
source /etc/default/bazzite
if [[ ${BASE_IMAGE_NAME} == 'silverblue' ]]; then
fleek add adw-gtk3 --apply
if [[ -d "/nix" ]]; then
mkdir -p $HOME/.config/nix
echo "experimental-features = nix-command flakes" >> $HOME/.config/nix/nix.conf
curl -fsSL https://getfleek.dev/installer | env FORCE=1 bash
else
fleek add breeze-icons
fleek add libsForQt5.breeze-qt5
fleek apply
echo "Install nix with just install-nix before running just install-fleek."
fi
install-fleek-themes:
#!/usr/bin/env bash
if [[ -x "/var/usrlocal/bin/fleek" ]]; then
source /etc/default/bazzite
if [[ ${BASE_IMAGE_NAME} == 'silverblue' ]]; then
fleek add adw-gtk3 --apply
else
fleek add breeze-icons
fleek add libsForQt5.breeze-qt5
fleek apply
fi
fi
get-greenlight:

View File

@ -64,15 +64,17 @@ install-fleek:
echo "Install nix with just install-nix before running just install-fleek."
fi
fleek-install-themes:
install-fleek-themes:
#!/usr/bin/env bash
source /etc/default/bazzite
if [[ ${BASE_IMAGE_NAME} == 'silverblue' ]]; then
fleek add adw-gtk3 --apply
else
fleek add breeze-icons
fleek add libsForQt5.breeze-qt5
fleek apply
if [[ -x "/var/usrlocal/bin/fleek" ]]; then
source /etc/default/bazzite
if [[ ${BASE_IMAGE_NAME} == 'silverblue' ]]; then
fleek add adw-gtk3 --apply
else
fleek add breeze-icons
fleek add libsForQt5.breeze-qt5
fleek apply
fi
fi
enable-auto-login: