chore: Use upgrade instead of update in zap

chore: Resume using gear lever for Wootility, can't be updated with zap
This commit is contained in:
Kyle Gospodnetich 2024-05-03 11:41:22 -07:00
parent eab782b80b
commit 09d69a8267
2 changed files with 8 additions and 2 deletions

View File

@ -1,6 +1,6 @@
#!/usr/bin/bash
shopt -s nullglob
/usr/bin/zap update
/usr/bin/zap upgrade
exit 0

View File

@ -61,7 +61,13 @@ alias get-wootility := install-wootility
# Install Wootility for configuring Wooting Keyboards
install-wootility:
#!/usr/bin/bash
zap install --from https://api.wooting.io/public/wootility/download?os=linux&branch=lekker wootility
if grep -q 'it.mijorus.gearlever' <<< $(flatpak list); then
wget "https://api.wooting.io/public/wootility/download?os=linux&branch=lekker" -O $HOME/Downloads/wootility.AppImage
flatpak run it.mijorus.gearlever $HOME/Downloads/wootility.AppImage
else
wget "https://api.wooting.io/public/wootility/download?os=linux&branch=lekker" -O $HOME/Desktop/wootility.AppImage
chmod +x $HOME/Desktop/wootility.AppImage
fi
# Install Adwaita-for-Steam theme for CSS Loader (https://github.com/tkashkin/Adwaita-for-Steam)
install-adwaita-for-steam: