From 9019d0833b8512b1d046642b4ccc1be0d7e6bcc0 Mon Sep 17 00:00:00 2001 From: Jeremy Plsek Date: Sun, 13 Feb 2022 00:00:32 -0500 Subject: [PATCH] notifier: set app name when using notify-send If a notification is sent while the screen is locked, it says "notify-send" instead of "RuneLite". --- runelite-client/src/main/java/net/runelite/client/Notifier.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/runelite-client/src/main/java/net/runelite/client/Notifier.java b/runelite-client/src/main/java/net/runelite/client/Notifier.java index b6bbb51769..a0d6df8aeb 100644 --- a/runelite-client/src/main/java/net/runelite/client/Notifier.java +++ b/runelite-client/src/main/java/net/runelite/client/Notifier.java @@ -314,6 +314,8 @@ public class Notifier commands.add("notify-send"); commands.add(title); commands.add(message); + commands.add("-a"); + commands.add(SHELL_ESCAPE.escape(appName)); commands.add("-i"); commands.add(SHELL_ESCAPE.escape(notifyIconPath.toAbsolutePath().toString())); commands.add("-u");