bin-utils/is_sync.sh
2015-05-30 18:42:42 +02:00

11 lines
388 B
Bash
Executable File

#!/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