diff options
author | Case Duckworth | 2022-02-07 13:16:00 -0600 |
---|---|---|
committer | Case Duckworth | 2022-02-07 13:16:00 -0600 |
commit | 88e218faf2d52a21001eea8491aecd12c54b074a (patch) | |
tree | b0a519c291ee56f43520ff6ff53c8b76a679925a /lisp/+bongo.el | |
parent | Add notmuch (diff) | |
download | emacs-88e218faf2d52a21001eea8491aecd12c54b074a.tar.gz emacs-88e218faf2d52a21001eea8491aecd12c54b074a.zip |
Add bongo
Diffstat (limited to 'lisp/+bongo.el')
-rw-r--r-- | lisp/+bongo.el | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/lisp/+bongo.el b/lisp/+bongo.el new file mode 100644 index 0000000..d1a2ef4 --- /dev/null +++ b/lisp/+bongo.el | |||
@@ -0,0 +1,17 @@ | |||
1 | ;;; +bongo.el --- customizations in bongo -*- lexical-binding: t; -*- | ||
2 | |||
3 | ;;; Commentary: | ||
4 | |||
5 | ;;; Code: | ||
6 | |||
7 | (defun +bongo-notify () | ||
8 | (notifications-notify | ||
9 | :title "Now Playing" | ||
10 | :body (let ((bongo-field-separator " | ||
11 | ")) | ||
12 | (substring-no-properties (bongo-formatted-infoset))) | ||
13 | :urgency 'low | ||
14 | :transient t)) | ||
15 | |||
16 | (provide '+bongo) | ||
17 | ;;; +bongo.el ends here | ||