Skip to content

Commit

Permalink
my-matrix: initial config with ement
Browse files Browse the repository at this point in the history
  • Loading branch information
stsquad committed Oct 6, 2023
1 parent 5373d39 commit c63bfea
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 1 deletion.
2 changes: 1 addition & 1 deletion init.el
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@
(use-package my-circe
:if (not I-am-root))

(use-package my-telegram
(use-package my-matrix
:if I-am-at-work)

(use-package my-diff)
Expand Down
22 changes: 22 additions & 0 deletions my-matrix.el
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
;;; my-matrix --- Matrix handling
;;
;;; Commentary:
;;
;; Currently using ement
;;
;;; Code:

(use-package ement
:load-path (lambda () (my-return-path-if-ok
"~/src/emacs/ement.el.git"))
:custom
;; :NOTE| Notifications ought to be limited to @mentions only!
(ement-notify-notification-predicates '(ement-notify--event-mentions-session-user-p
ement-notify--event-mentions-room-p))
(ement-room-images t)
(ement-room-message-format-spec "%S>%L %B%r%R[%t]")
(ement-room-send-message-filter #'ement-room-send-org-filter)
(ement-save-sessions t))

(provide 'my-matrix)
;;; my-matrix.el ends here

0 comments on commit c63bfea

Please sign in to comment.