aboutsummaryrefslogtreecommitdiffstats
path: root/config/doom
diff options
context:
space:
mode:
Diffstat (limited to 'config/doom')
-rw-r--r--config/doom/config.org26
-rw-r--r--config/doom/snippets/message-mode/employer_signature13
-rw-r--r--config/doom/snippets/python-mode/cmktrace7
-rw-r--r--config/doom/snippets/python-mode/cmkwarn7
4 files changed, 3 insertions, 50 deletions
diff --git a/config/doom/config.org b/config/doom/config.org
index 8684b3d..5fa2e01 100644
--- a/config/doom/config.org
+++ b/config/doom/config.org
@@ -4,9 +4,7 @@
* Personal information
#+begin_src emacs-lisp
(setq user-full-name "Óscar Nájera"
- user-mail-address (if (string-equal (user-login-name) "on")
- "oscar.najera@tribe29.com"
- "hi@oscarnajera.com"))
+ user-mail-address "hi@oscarnajera.com")
#+end_src
* Editor
** Theme
@@ -33,9 +31,7 @@ Doom manages packages separately. Keep that file separate
#+end_src
** SSH agent
#+begin_src emacs-lisp
-(if (string-equal (user-login-name) "on")
- (setenv "SSH_AUTH_SOCK" (concat "/run/user/1000/gnupg/S.gpg-agent.ssh"))
- (setenv "SSH_AUTH_SOCK" (concat (getenv "XDG_RUNTIME_DIR")"/gnupg/S.gpg-agent.ssh")))
+(setenv "SSH_AUTH_SOCK" (concat (getenv "XDG_RUNTIME_DIR")"/gnupg/S.gpg-agent.ssh"))
#+end_src
** Avy
This allows me to jump to buffer positions using my home row ordering
@@ -221,7 +217,6 @@ this new window.
(setq notmuch-saved-searches
'((:name "inbox" :query "tag:inbox" :key "i" :sort-order newest-first)
- (:name "CMK" :query "(tag:CMK-JIRA or tag:lists/gerrit-check_mk) and tag:unread" :key "c")
(:name "Isar-Speak" :query "(tag:Isar-Speak or tag:lists/isar-speak-officers) and tag:unread" :key "t")
(:name "flagged" :query "tag:flagged" :key "f")
(:name "sent" :query "tag:sent" :key "s")
@@ -232,7 +227,6 @@ this new window.
notmuch-hello-tag-list-make-query "tag:unread and not tag:killed")
(setq notmuch-fcc-dirs '((".*@oscarnajera.com" . "hi_pers/Sent")
- ("oscar.najera@tribe29.com" . "work/Sent")
;;(".*@gmail.com" . "\"gmail/[Gmail]/.Sent Mail\"")
))
@@ -304,9 +298,7 @@ this new window.
(defun set-smtp-server ()
(let* ((default-smtp-conf '("mail.oscarnajera.com" 587 starttls "hi"))
(smtp-from-server-alist
- '(("Oscar Najera <oscar.najera@tribe29.com>"
- "mx.tribe29.com" 587 starttls "oscar.najera")
- ("Oscar Najera <najera.oscar@gmail.com>"
+ '(("Oscar Najera <najera.oscar@gmail.com>"
"smtp.googlemail.com" 587 starttls "najera.oscar")))
(smtp-conf (alist-get (save-restriction
(message-narrow-to-headers)
@@ -433,15 +425,3 @@ Emacs mode for managing ledger text files
#+begin_src emacs-lisp
(use-package! guix)
#+end_src
-* Check_MK
-#+BEGIN_SRC emacs-lisp
-(when (string-equal (user-login-name) "on")
- (global-set-key (kbd "<f10>")
- (lambda ()
- (interactive)
- (async-shell-command "WEBPACK_MODE=quick ~/git/zeug_cmk/bin/f12" "*f12*")))
- (global-set-key (kbd "<f9>")
- (lambda ()
- (interactive)
- (async-shell-command "cd ~/git/check_mk/managed/ && ~/git/check_mk/managed/.f12" "*f12*"))))
-#+END_SRC
diff --git a/config/doom/snippets/message-mode/employer_signature b/config/doom/snippets/message-mode/employer_signature
deleted file mode 100644
index 6e202b8..0000000
--- a/config/doom/snippets/message-mode/employer_signature
+++ /dev/null
@@ -1,13 +0,0 @@
-# -*- mode: snippet -*-
-# name: employer_signature
-# key: sig
-# --
-Oscar Najera
-Software Developer
-
-tribe29 GmbH — The Check_MK Company
-oscar.najera@tribe29.com | Phone: +49 89 9982 097 00 | https://tribe29.com
-
-Kellerstraße 29, 81667 München, Germany
-Amtsgericht München, HRB 165902
-Geschäftsführer: Jan Justus, Mathias Kettner \ No newline at end of file
diff --git a/config/doom/snippets/python-mode/cmktrace b/config/doom/snippets/python-mode/cmktrace
deleted file mode 100644
index 85f42a3..0000000
--- a/config/doom/snippets/python-mode/cmktrace
+++ /dev/null
@@ -1,7 +0,0 @@
-# -*- mode: snippet -*-
-# name: cmktrace
-# key: ctrace
-# --
-import traceback
-from cmk.gui.log import logger
-logger.warn("\n\n"+"\n".join(traceback.format_stack()))
diff --git a/config/doom/snippets/python-mode/cmkwarn b/config/doom/snippets/python-mode/cmkwarn
deleted file mode 100644
index d3fe8f9..0000000
--- a/config/doom/snippets/python-mode/cmkwarn
+++ /dev/null
@@ -1,7 +0,0 @@
-# -*- mode: snippet -*-
-# name: cmkwarn
-# key: warn
-# --
-from cmk.gui.log import logger
-import pprint
-logger.warning(pprint.pformat(("$1", $0))) \ No newline at end of file