add-more-system-apps #10
13
files/systemd/system/notify_update.service
Normal file
13
files/systemd/system/notify_update.service
Normal file
@@ -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
|
@@ -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:
|
||||
|
Reference in New Issue
Block a user