2
# **********************************************************#
3
# osd-notify: script to make On Screen Display notification #
4
# **********************************************************#
5
# Copyright 2003 - Arnaud Quette #
6
# Distributed under the GNU GPL v2 #
7
# See attached file (osd-notify.txt) for usage information #
8
# **********************************************************#
10
# select your font with xfontsel
11
# ******************************
12
FONT="-adobe-courier-bold-*-*-*-34-*-100-*-*-*-*-*"
16
POSITION="-p middle -A center"
26
# You can use a combination of valid message values:
28
# $UPSNAME => for ups name
29
# $NOTIFYTYPE => depending on event (ONLINE, ONBATT, ...)
30
# *********************************************************************
35
echo $MESSAGE | osd_cat - -c $COLOR -f $FONT -d $DELAY $POSITION