Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- # → http://coderstalk.blogspot.com/2010/02/custom-gnome-notification-for-your-apps.html
- # create the message
- mytitle="$1"
- mymsg="$2"
- # get my resolution
- myres=$(xrandr -q|grep '*' | sed -e 's/x.*//' -e 's/\ //g')
- # and the notify command
- notify-send -h int:x:$myres -h int:y:10 -u normal -t 10000 "$mytitle" "$mymsg" &
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement