summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThanos Apollo <[email protected]>2023-07-16 16:31:39 +0300
committerThanos Apollo <[email protected]>2023-07-16 16:31:39 +0300
commita8197987144aff971e044351f83c5ace244c280d (patch)
tree1d414c1b80d5f354a5ca51034d81808f238f76c5
parent1b98ea8265ccfd99e2b8db4fb4494d80095384a8 (diff)
Add ement configuration
-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")