Monday, 25 May 2009

Your Daily Pop-Up's: Gnome libnotify

A pretty easy way to create Gnome Pop-Up using libnotify + notify-send

ralf@geeko:~$ cat ~/bin/send-notify.sh
#/bin/bash

export DISPLAY=:0 && \
export XAUTHORITY=~ralf/.Xauthority && \
notify-send -u critical -i ~ralf/.icons/notify.png 'Shell Triggered Notify' \
"$(date +'%H:%M:%S') - $*"

0 Kommentare: