···4455This is only tested on Universal Blue's distros ([Bazzite](https://bazzite.gg), [Bluefin](https://projectbluefin.io), [Aurora](https://getaurora.dev)), which have automatic updates enabled by default. I specifically tested on Bazzite (KDE) and Aurora, but since ostree is shared with all Fedora Atomic distros, this should work with any such distro that automatically downloads new updates.
6677-This project is replicated on my home server at https://files.littlebitstudios.com/share/ostree-update-notify and on GitHub at https://github.com/littlebitstudios/ostree-update-notify. All downloads used in the script come from my home server.
77+This project is replicated on my home server at https://files.littlebitstudios.com/share/ostree-update-notify and on GitHub at https://github.com/littlebitstudios/ostree-update-notify.
8899## Quick Setup
1010···13131414```sh
1515eval $(curl https://files.littlebitstudios.com/share/ostree-update-notify/quick-setup.sh)
1616+```
1717+1818+You can also use this line instead to quick setup from GitHub (requires Git):
1919+```sh
2020+git clone https://github.com/littlebitstudios/ostree-update-notify && cd ostree-update-notify && chmod +x *.sh && ./setup.sh && cd .. && rm -rf ostree-update-notify
1621```
17221823## **Behavior**
···22272328## **Download**
24292525-If you're viewing this from my file server, you can click the "zip" button (box icon) in the bottom right corner to download the contents of this folder as a zip file.
2626-Otherwise you can `git clone` the GitHub repository or click the "Code" button on the GitHub webpage and "Download ZIP".
3030+If you're viewing this from my file server, you can click the "zip" button (box icon) in the bottom right corner to download the contents of this folder as a zip file. \
3131+If viewing from GitHub you can click the "Code" button on the webpage and "Download ZIP".
27322833You can also paste the below command into a terminal to download the contents of this repository:
2929-3034```sh
3135curl https://files.littlebitstudios.com/share/ostree-update-notify?tar | tar -x
3236```
33373434-Explanation: curl downloads from the website, the ?tar after the URL specifies to download as a .tar archive, and tar \-x after the vertical bar immediately extracts the archive.
3838+Or use `git clone` if you have Git:
3939+```sh
4040+git clone https://github.com/littlebitstudios/ostree-update-notify
4141+```
35423643## **Installation**
3744···4249### **Custom Functionality**
4350There are multiple variants of the script; you can edit the variant you plan to use for custom functionality. The script explains the different notification modes, but the `kdialog` variant is recommended for KDE-based systems and the `zenity` variant is recommended for GNOME-based systems (with the `notify-send` variant being the fallback if you don't know what your environment is).
44514545-An example of custom functionality would be to add a `curl` statement to trigger a remote notification with webhooks or [ntfy](https://ntfy.sh) (an open-source push notification server).
5252+An example of custom functionality would be to add a `curl` command to trigger a remote notification with webhooks or [ntfy](https://ntfy.sh) (an open-source push notification server).
4653## **Uninstall**
4747-If you want to remove the scripts later, run ./remove.sh. If you used the quick setup at the beginning of the readme or removed files manually after installation, you can use the statement below to uninstall.
5454+If you want to remove the scripts later, run ./remove.sh. If you used the quick setup at the beginning of the readme or removed files manually after installation, you can use one of the commands below to uninstall.
48554956### Quick Uninstall
5057Copy this into a terminal:
5158```sh
5259eval $(curl https://files.littlebitstudios.com/share/ostree-update-notify/quick-remove.sh)
6060+```
6161+6262+You can also use this line instead to quick remove from GitHub (requires Git):
6363+```sh
6464+git clone https://github.com/littlebitstudios/ostree-update-notify && cd ostree-update-notify && chmod +x *.sh && ./remove.sh && cd .. && rm -rf ostree-update-notify
5365```
54665567## License