Added yaourtrc, better notify function
This commit is contained in:
parent
bba2ca4fbf
commit
b9cebfed62
|
@ -18,6 +18,7 @@ main() {
|
|||
make_link ycm_extra_conf.py .vim/ycm_extra_conf.py
|
||||
make_link awesome .config/awesome
|
||||
make_link Xdefaults .Xdefaults
|
||||
make_link yaourtrc .yaourtrc
|
||||
|
||||
}
|
||||
|
||||
|
|
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue