11 lines
388 B
Bash
11 lines
388 B
Bash
|
#!/bin/bash
|
||
|
|
||
|
LOG_FILE=tmp/is_sync.log
|
||
|
# lancement en background, lecture du dernier appel
|
||
|
if [ -s $LOG_FILE ]; then
|
||
|
echo "<click>zenity --text-info --filename=$LOG_FILE --title Synchronisation</click>"
|
||
|
echo "<img>/usr/share/icons/gnome/scalable/emblems/emblem-important-symbolic.svg</img>"
|
||
|
else
|
||
|
echo "<img>/usr/share/icons/gnome/scalable/emblems/emblem-default-symbolic.svg</img>"
|
||
|
fi
|