Upload files to "/"

add catppuccinized librewolf icon, script. might work with snooze?
This commit is contained in:
Kitten (like a small cat.) 2025-08-30 22:35:48 +00:00
parent 16613ef1f1
commit 788921635f
2 changed files with 18 additions and 0 deletions

BIN
librewolf.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

18
update-librewolf.sh Normal file
View file

@ -0,0 +1,18 @@
#!/bin/bash
ZENITY_OPTIONS="--icon $HOME/.local/share/icons/librewolf.png --title LibreWolf AppImage"
APPIMAGE="/home/ktn/.local/bin/LibreWolf.x86_64.AppImage"
zenity --question $ZENITY_OPTIONS --no-wrap --text "Update now?" &&
if stat $APPIMAGE
then
mv $APPIMAGE $APPIMAGE.old &&
wcurl -O $APPIMAGE https://gitlab.com/api/v4/projects/24386000/packages/generic/librewolf/latest/LibreWolf.x86_64.AppImage |zenity --progress $ZENITY_OPTIONS --auto-close --auto-kill --text "Downloading using wcurl..." --pulsate &&
chmod +x $APPIMAGE & touch $HOME/.cache/snooze/wolfupdate
else
wcurl -O $APPIMAGE https://gitlab.com/api/v4/projects/24386000/packages/generic/librewolf/latest/LibreWolf.x86_64.AppImage |zenity --progress $ZENITY_OPTIONS --auto-close --auto-kill --text "Downloading using wcurl..." --pulsate &&
chmod +x $APPIMAGE & touch $HOME/.cache/snooze/wolfupdate
fi &&
zenity --info $ZENITY_OPTIONS --no-wrap --text "LibreWolf has been updated!"