diff options
author | dec05eba <dec05eba@protonmail.com> | 2024-12-29 20:56:44 +0100 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2024-12-29 20:56:44 +0100 |
commit | 5deac012c27267e35438acad981421f3a6f12f17 (patch) | |
tree | 7c85b1c9435b4c31ce5fbe8fb8c27ea308b3ad05 | |
parent | fdeebe22003faefe3de5e3bc61acdf5a9f071d42 (diff) |
Better error message
-rw-r--r-- | src/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp index 41f732c..4715cd4 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -193,7 +193,7 @@ int main(int argc, char **argv) { // TODO: This is a shitty method to detect if multiple instances of gsr-ui is running but this will work properly even in flatpak // that uses pid sandboxing. Replace this with a better method once we no longer rely on linux global hotkeys on some platform. if(is_gsr_ui_virtual_keyboard_running()) { - const char *args[] = { "gsr-notify", "--text", "Another instance of GPU Screen Recorder UI is already running", "--timeout", "5.0", "--icon-color", "ff0000", "--bg-color", "ff0000", nullptr }; + const char *args[] = { "gsr-notify", "--text", "Another instance of GPU Screen Recorder UI is already running.\nPress Alt+Z to open the UI.", "--timeout", "5.0", "--icon-color", "ff0000", "--bg-color", "ff0000", nullptr }; gsr::exec_program_daemonized(args); return 1; } |