Collection of scripts that notify a user about updates on OSTree based systems (Fedora Atomic and derivatives).
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Add options to download from GitHub with Git

authored by

LittleBit and committed by
GitHub
378c4628 c7aefc0f

+19 -7
+19 -7
readme.md
··· 4 4 5 5 This 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. 6 6 7 - 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. 7 + 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. 8 8 9 9 ## Quick Setup 10 10 ··· 13 13 14 14 ```sh 15 15 eval $(curl https://files.littlebitstudios.com/share/ostree-update-notify/quick-setup.sh) 16 + ``` 17 + 18 + You can also use this line instead to quick setup from GitHub (requires Git): 19 + ```sh 20 + git clone https://github.com/littlebitstudios/ostree-update-notify && cd ostree-update-notify && chmod +x *.sh && ./setup.sh && cd .. && rm -rf ostree-update-notify 16 21 ``` 17 22 18 23 ## **Behavior** ··· 22 27 23 28 ## **Download** 24 29 25 - 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. 26 - Otherwise you can `git clone` the GitHub repository or click the "Code" button on the GitHub webpage and "Download ZIP". 30 + 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. \ 31 + If viewing from GitHub you can click the "Code" button on the webpage and "Download ZIP". 27 32 28 33 You can also paste the below command into a terminal to download the contents of this repository: 29 - 30 34 ```sh 31 35 curl https://files.littlebitstudios.com/share/ostree-update-notify?tar | tar -x 32 36 ``` 33 37 34 - 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. 38 + Or use `git clone` if you have Git: 39 + ```sh 40 + git clone https://github.com/littlebitstudios/ostree-update-notify 41 + ``` 35 42 36 43 ## **Installation** 37 44 ··· 42 49 ### **Custom Functionality** 43 50 There 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). 44 51 45 - 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). 52 + 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). 46 53 ## **Uninstall** 47 - 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. 54 + 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. 48 55 49 56 ### Quick Uninstall 50 57 Copy this into a terminal: 51 58 ```sh 52 59 eval $(curl https://files.littlebitstudios.com/share/ostree-update-notify/quick-remove.sh) 60 + ``` 61 + 62 + You can also use this line instead to quick remove from GitHub (requires Git): 63 + ```sh 64 + git clone https://github.com/littlebitstudios/ostree-update-notify && cd ostree-update-notify && chmod +x *.sh && ./remove.sh && cd .. && rm -rf ostree-update-notify 53 65 ``` 54 66 55 67 ## License