bin-utils/is_sync.sh

11 lines
388 B
Bash
Raw Normal View History

2015-05-30 16:42:42 +00:00
#!/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