16 lines
282 B
Bash
Executable file
16 lines
282 B
Bash
Executable file
#!/usr/bin/env bash
|
|
|
|
if [ -f /dev/shm/claws_offline ]
|
|
then
|
|
echo "<span foreground=\"#F2777A\">█</span>"
|
|
exit
|
|
fi
|
|
|
|
avail=$(checkupdates | wc -l)
|
|
|
|
if [[ $avail -eq 0 ]]
|
|
then
|
|
echo "<span foreground=\"#99CC99\">█</span>"
|
|
else
|
|
echo "<span foreground=\"#FFCC66\">█</span>"
|
|
fi
|