summaryrefslogtreecommitdiff
path: root/emacs.org
diff options
context:
space:
mode:
Diffstat (limited to 'emacs.org')
-rwxr-xr-xemacs.org11
1 files changed, 11 insertions, 0 deletions
diff --git a/emacs.org b/emacs.org
index b1f0b48..5327310 100755
--- a/emacs.org
+++ b/emacs.org
@@ -1197,6 +1197,17 @@ Set aliases for emacs functions and ~PATH~
(define-key yeetube-mode-map (kbd "c") 'yeetube-switch-mpv)
#+end_src
+* Ement
+#+begin_src emacs-lisp
+ (defun ement-login ()
+ (interactive)
+ (ement-connect
+ :user-id "@thanos_apollon:matrix.org"
+ :password (password-store-get "matrix/thanos_apollon")
+ :uri-prefix "https://matrix-client.matrix.org"))
+
+ (define-key thanos/applications-map (kbd "M-e") 'ement-login)
+#+end_src
* StumpWM
#+begin_src emacs-lisp
(setq stumpwm-shell-program "~/.stumpwm.d/modules/util/stumpish/stumpish")