diff options
author | jao <jao@gnu.org> | 2019-11-15 20:50:03 +0000 |
---|---|---|
committer | jao <jao@gnu.org> | 2019-11-15 20:50:03 +0000 |
commit | 7a2a9424818002f2b64221f533aeae18278604d3 (patch) | |
tree | fdae94a1bb7decd38cb306589251b54f4e74c106 /sys/jao-osd.el | |
parent | 6a2db0f9c0c4620f0d7f8c6926f4794d36df76f8 (diff) | |
download | elibs-7a2a9424818002f2b64221f533aeae18278604d3.tar.gz elibs-7a2a9424818002f2b64221f533aeae18278604d3.tar.bz2 |
jao-notify in jao-notify
Diffstat (limited to 'sys/jao-osd.el')
-rw-r--r-- | sys/jao-osd.el | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/sys/jao-osd.el b/sys/jao-osd.el index 5e70b79..acdc629 100644 --- a/sys/jao-osd.el +++ b/sys/jao-osd.el @@ -52,13 +52,4 @@ (maphash (lambda (n p) (ignore-errors (kill-process p))) jao-osd-processes) (clrhash jao-osd-processes)) -(defun jao-notify (msg &optional title icon) - (let* ((title (shell-quote-argument title)) - (msg (shell-quote-argument msg)) - (args (if title (format "%s %s" msg title) msg)) - (iflag (if (and (stringp icon) (file-exists-p icon)) - (format " -i %s" icon) - ""))) - (shell-command-to-string (format "notify-send %s%s" args iflag)))) - (provide 'jao-osd) |