Fix notify-send

This commit is contained in:
Gerald Pinder
2025-03-26 23:40:17 -04:00
parent 9fda39638a
commit 03a8d4c806

View File

@@ -6,4 +6,4 @@ ConditionPathExists=/run/ostree-booted
[Service]
Type=oneshot
# ExecStart=/usr/bin/bootc update --apply --quiet
ExecStart=/bin/bash -c '/usr/bin/bootc update --quiet && notify-send -a BlueBuild "Update Installed" "Reboot to apply updates" || notify-send -u critical -a BlueBuild "ERROR: UPDATE FAILED" "Update failed to download/install"'
ExecStart=/bin/bash -c '/usr/bin/bootc update --quiet && /usr/bin/notify-send -a BlueBuild "Update Installed" "Reboot to apply updates" || /usr/bin/notify-send -u critical -a BlueBuild "ERROR: UPDATE FAILED" "Update failed to download/install"'