Upload files to "/"
add catppuccinized librewolf icon, script. might work with snooze?
This commit is contained in:
parent
16613ef1f1
commit
788921635f
BIN
librewolf.png
Normal file
BIN
librewolf.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 15 KiB |
18
update-librewolf.sh
Normal file
18
update-librewolf.sh
Normal 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!"
|
||||
Loading…
Reference in a new issue