From 5cbe0d469efcd941018ad068cb25e74352493f57 Mon Sep 17 00:00:00 2001
From: Carmelo Pellegrino <carmelo.pellegrino@gmail.com>
Date: Wed, 20 May 2015 15:40:27 +0200
Subject: [PATCH] notification mark in the system tray

---
 patch-control.sh | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/patch-control.sh b/patch-control.sh
index 288f8ea..dbffcc2 100644
--- a/patch-control.sh
+++ b/patch-control.sh
@@ -164,6 +164,10 @@ daq_driver_log_file=~/.km3_private/daq_driver_${run_number}.log
 daq.sh ${run_number} ${run_start_time} ${run_duration_seconds} >${daq_driver_log_file} &
 PROCS=(${PROCS[*]} $!)
 
+# Put notification mark in the system tray
+zenity --notification --text="Run ${run_number) is on going." &
+PROCS=(${PROCS[*]} $!)
+
 # Point the browser to the correct address, if required
 zenity --question \
        --text="Would you like to open the DetectorManager GUI?" \
-- 
GitLab