Added yaourtrc, better notify function
This commit is contained in:
@@ -52,9 +52,9 @@ wallpaper() {
|
||||
# Notify to awesome
|
||||
notify() {
|
||||
if [ $# -lt 2 ]; then
|
||||
echo "naughty.notify({text = \"$1\", timeout = 10})" | awesome-client
|
||||
notify-send "$1"
|
||||
elif [ $# -lt 3 ]; then
|
||||
echo "naughty.notify({title=\"$1\", text = \"$2\", timeout = 10})" | awesome-client
|
||||
notify-send "$1" "$2"
|
||||
fi
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user