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".
This commit is contained in:
@@ -314,6 +314,8 @@ public class Notifier
|
|||||||
commands.add("notify-send");
|
commands.add("notify-send");
|
||||||
commands.add(title);
|
commands.add(title);
|
||||||
commands.add(message);
|
commands.add(message);
|
||||||
|
commands.add("-a");
|
||||||
|
commands.add(SHELL_ESCAPE.escape(appName));
|
||||||
commands.add("-i");
|
commands.add("-i");
|
||||||
commands.add(SHELL_ESCAPE.escape(notifyIconPath.toAbsolutePath().toString()));
|
commands.add(SHELL_ESCAPE.escape(notifyIconPath.toAbsolutePath().toString()));
|
||||||
commands.add("-u");
|
commands.add("-u");
|
||||||
|
|||||||
Reference in New Issue
Block a user