improvements
[distro-setup] / brc
diff --git a/brc b/brc
index 4e02122cccc6f72ae3d3acf9b882783b692ec455..5e8776de929ba02c83b63df934724fa29561b49e 100644 (file)
--- a/brc
+++ b/brc
@@ -1751,14 +1751,14 @@ mkdir() { command mkdir -p "$@"; }
 
 nags() {
   # https://github.com/HenriWahl/Nagstamon/issues/357
-  if ! pgrep -f /usr/lib/notification-daemon/notification-daemon >/dev/null; then
-    /usr/lib/notification-daemon/notification-daemon &
+  if ! pgrep -f /usr/bin/dunst >/dev/null; then
+    /usr/bin/dunst &
   fi
   /usr/bin/nagstamon &
 }
 prof() {
-  if ! pgrep -f /usr/lib/notification-daemon/notification-daemon >/dev/null; then
-    /usr/lib/notification-daemon/notification-daemon &
+  if ! pgrep -f /usr/bin/dunst >/dev/null; then
+    /usr/bin/dunst &
   fi
   profanity "$@"
 }