Quoting Daniel <[email protected]> (Sat, 15 Dec 2012, 13:30:20):
> [...]
> I do notification in the most simple way, with /usr/bin/notify-send
Why not using a simple wrapper instead, something like this:
#!/bin/sh
# naughty-send
# naugthy-send -m "new message" [-t "titel"] [-o timeout]
MSG=""
TITLE=""
TIMEOUT=0
while getopts "t:m:o" opt; do
case "$opt" in
t) TITLE=$OPTARG;;
m) MSG=$OPTARG;;
o) TIMEOUT=$OPTARG;;
esac
done
[ x"$MSG" = "x" ] && exit 0
echo "naughty.notify({title = \"$TITLE\", text = \"$MSG\",timeout =
$TIMEOUT})"|awesome-client
Then, you could use the key-bindings from rc.lua.
--
To unsubscribe, send mail to [email protected].