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: install-fleek:
#!/usr/bin/env bash #!/usr/bin/env bash
mkdir -p $HOME/.config/nix if [[ -d "/nix" ]]; then
echo "experimental-features = nix-command flakes" >> $HOME/.config/nix/nix.conf mkdir -p $HOME/.config/nix
curl -fsSL https://getfleek.dev/installer | env FORCE=1 bash 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
else else
fleek add breeze-icons echo "Install nix with just install-nix before running just install-fleek."
fleek add libsForQt5.breeze-qt5 fi
fleek apply
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 fi
get-greenlight: get-greenlight:

View File

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