summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThanos Apollo <[email protected]>2023-05-11 11:03:04 +0300
committerThanos Apollo <[email protected]>2023-05-11 11:03:04 +0300
commitb8255c381135e9488f5e6d348a03cf255d0bc4d8 (patch)
tree6f406f9cdc6cd99307d8dceb604c8791a09b5409
parent9b829bd5891692be9af18f0a2525a7a1136f55b2 (diff)
emacs: add circe configuration
-rwxr-xr-xemacs.org15
1 files changed, 15 insertions, 0 deletions
diff --git a/emacs.org b/emacs.org
index daea3c6..6affb81 100755
--- a/emacs.org
+++ b/emacs.org
@@ -2,6 +2,7 @@
#+PROPERTY: header-args :tangle ~/.emacs.d/init.el :mkdirp yes
#+auto_tangle: t
#+STARTUP: overview
+
* System information
Check the ~$HOSTNAME~ to set a variable for different devices
#+begin_src emacs-lisp
@@ -1047,6 +1048,19 @@ Create function to watch videos using ~mpv~
(define-key thanos/eshell-map (kbd "o") 'multi-eshell)
(define-key thanos/eshell-map (kbd "n") 'multi-eshell-switch)
#+end_src
+* Circe
+#+begin_src emacs-lisp
+ (setq circe-network-options
+ `(("Libera Chat"
+ :tls t
+ :nick "thanosapollo"
+ :sasl-username "thanosapollo"
+ :sasl-password ,(password-store-get "liberachat/thanos_apollo")
+ :channels ("#emacs-circe"
+ "#emacs"))))
+
+ (define-key thanos/applications-map "i" 'circe)
+#+end_src
* Misc
** Random functions
#+begin_src emacs-lisp
@@ -1209,3 +1223,4 @@ Create function to watch videos using ~mpv~
(define-key thanos/vterm-map (kbd "d") 'multi-vterm-dedicated-open)
(define-key thanos/vterm-map (kbd "o") 'multi-vterm)
#+end_src
+