diff --git a/files/systemd/system/notify_update.service b/files/systemd/system/notify_update.service new file mode 100644 index 0000000..306e301 --- /dev/null +++ b/files/systemd/system/notify_update.service @@ -0,0 +1,13 @@ +[Unit] +Description=Notify the user when the next update has been downloaded. +# order after update has been applied +After=bootc-status-updated.target + +[Service] +Type=exec +# For when only in graphical session +ExecCondition=/lib/systemd/systemd-xdg-autostart-condition "wlroots:sway:Wayfire:labwc:Hyprland" "" +ExecStart=/usr/bin/notify-send "New system update downloaded\!" + +[Install] +WantedBy=bootc-status-updated.target \ No newline at end of file diff --git a/recipes/components/base-module.yml b/recipes/components/base-module.yml index 3b20b14..9a0521e 100644 --- a/recipes/components/base-module.yml +++ b/recipes/components/base-module.yml @@ -6,13 +6,12 @@ modules: install: packages: - ublue-os-udev-rules - - ublue-os-update-services - ublue-os-signing - type: systemd system: enabled: - - rpm-ostreed-automatic.timer + - bootc-fetch-apply-updates.timer - podman-auto-update.timer - flatpak-system-update.timer user: