From b097700591a79d0ab3cd1e5ba04856c95e236dbd Mon Sep 17 00:00:00 2001 From: purian23 Date: Wed, 3 Dec 2025 11:53:31 -0500 Subject: [PATCH] Add dbus notifications inline to systemd --- Makefile | 2 +- assets/systemd/dms.service | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index d58763b9..13df107b 100644 --- a/Makefile +++ b/Makefile @@ -81,7 +81,7 @@ install: build install-bin install-shell install-completions install-systemd ins @echo "" @echo "Installation complete!" @echo "" - @echo "=== The DMS Team! ===" + @echo "=== Cheers, the DMS Team! ===" # Uninstallation targets uninstall-bin: diff --git a/assets/systemd/dms.service b/assets/systemd/dms.service index f1577276..521c5738 100644 --- a/assets/systemd/dms.service +++ b/assets/systemd/dms.service @@ -5,7 +5,8 @@ After=graphical-session.target Requisite=graphical-session.target [Service] -Type=simple +Type=dbus +BusName=org.freedesktop.Notifications ExecStart=/usr/bin/dms run --session ExecReload=/usr/bin/pkill -USR1 -x dms Restart=always