# Updates thread

**URL:** <https://universal-blue.discourse.group/t/updates-thread/8833>\
**Category:** General\
**Created:** [May 19, 2025, 8:24am UTC](https://universal-blue.discourse.group/t/updates-thread/8833 "2025-05-19T08:24:51Z")\
**Posts on this page:** 1\
**Showing post:** 13

<div class="post-metadata">

**Author:** ![CerealParadox](https://avatars.discourse-cdn.com/v4/letter/c/50afbb/32.png) [@CerealParadox](https://universal-blue.discourse.group/u/CerealParadox)\
**Post date:** [May 29, 2025, 1:54pm UTC](https://universal-blue.discourse.group/t/updates-thread/8833/13 "2025-05-29T13:54:56Z")

</div>

Building upon the script that @phreed shared, I modified my Starship prompt (y’all are using `ujust bluefin-cli` right?)

I do not reboot my computer very often either, so I thought it would be cool to have a subtle indication when there are updates staged and ready to go.

```auto
❯ cat ~/.config/starship.toml

[custom.update]
command = "/bin/bash -c 'if /usr/bin/rpm-ostree status --json | /usr/bin/jq -e \".deployments[0].booted == false\" > /dev/null; then echo \"(Bluefin Update Available)\"; fi'"
when = true
format = " [($output)]($style) "
style = "bold green"

```

By adding this block to `starship.toml` file (you may have to create it, if you haven’t made one), it preserves the default behavior of Starship prompt but will add “(Bluefin Update Available)” when one will be applied on next boot.

![image](https://global.discourse-cdn.com/free1/uploads/univeral_blue/optimized/2X/e/e191bc202ddb16cbce7e1c4d2b30aa9995df1a38_2_690x81.png)

Edit: I wanted to add a symbol and clean it up, this is the improved version.

```auto
❯ cat ~/.config/starship.toml
[custom.update]
when = "/usr/bin/rpm-ostree status --json | /usr/bin/jq -e \".deployments[0].booted == false\" > /dev/null;"
command = 'echo "Bluefin update staged"'
symbol = "♻"
format = " $symbol [($output)]($style) "
style = "italic green"

```

![image](https://global.discourse-cdn.com/free1/uploads/univeral_blue/optimized/2X/1/10cd97c90a6b3bfe8312c4e908bd33eea634733b_2_690x85.png)

---

_[View the full topic](https://universal-blue.discourse.group/t/updates-thread/8833)._
