From 430b6ac49bb2065ecefb62897e9f35a9551d5154 Mon Sep 17 00:00:00 2001 From: Eriq Taing Date: Mon, 9 Jun 2025 23:55:13 -0400 Subject: [PATCH] Moved notify-update service to user space and updated name to have consistent naming format. --- .../notify_update.service => user/notify-update.service} | 1 + recipes/components/base-module.yml | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) rename files/systemd/{system/notify_update.service => user/notify-update.service} (64%) diff --git a/files/systemd/system/notify_update.service b/files/systemd/user/notify-update.service similarity index 64% rename from files/systemd/system/notify_update.service rename to files/systemd/user/notify-update.service index 23c6afb..86ecb44 100644 --- a/files/systemd/system/notify_update.service +++ b/files/systemd/user/notify-update.service @@ -5,6 +5,7 @@ After=bootc-status-updated.target [Service] Type=exec +ExecCondition=/lib/systemd/systemd-xdg-autostart-condition "wlroots:sway:Wayfire:labwc:Hyprland" "" ExecStart=/usr/bin/notify-send "New system update downloaded\!" [Install] diff --git a/recipes/components/base-module.yml b/recipes/components/base-module.yml index 9b8770f..25a832e 100644 --- a/recipes/components/base-module.yml +++ b/recipes/components/base-module.yml @@ -14,11 +14,11 @@ modules: - bootc-fetch-apply-updates.timer - podman-auto-update.timer - flatpak-system-update.timer - - notify_update.service user: enabled: - podman-auto-update.timer - flatpak-user-update.timer + - notify-update.service - type: dnf install: