Copy over some more config from doom/config.el

This commit is contained in:
Evie Litherland-Smith 2023-10-23 18:02:14 +01:00
parent bd6ea9898f
commit 16d3253c37

View file

@ -34,10 +34,16 @@
;;; Optional configuration ;;; Optional configuration
;; Set theme to Tokyo Night from doom-themes (setq user-full-name "Evie Litherland-Smith"
user-mail-address "evie@xenia.me.uk"
display-line-numbers 'relative)
;; Theme settings
(load-theme 'doom-tokyo-night t) (load-theme 'doom-tokyo-night t)
(add-to-list 'default-frame-alist '(font . "FiraCode Nerd Font-12")) (add-to-list 'default-frame-alist '(font . "FiraCode Nerd Font-12"))
(global-prettify-symbols-mode) (global-prettify-symbols-mode)
(set-frame-parameter nil 'alpha-background 80)
(add-to-list 'default-frame-alist '(alpha-background . 80))
;; Profile emacs startup ;; Profile emacs startup
(defun crafted-startup-example/display-startup-time () (defun crafted-startup-example/display-startup-time ()
@ -51,9 +57,28 @@
(set-terminal-coding-system 'utf-8) (set-terminal-coding-system 'utf-8)
(set-keyboard-coding-system 'utf-8) (set-keyboard-coding-system 'utf-8)
;; Set org directory ;; Org-Mode settings
(setq org-directory "~/Org") (setq org-directory "~/Org"
org-agenda-files '("~/Org/")
org-agenda-sticky t
org-agenda-prefix-format '((agenda . " %i %t %s")
(todo . " %i")
(tags . " %i")
(search . " %i")))
;; Magit settings
(setq magit-clone-default-directory "~/Projects/")
;; ntfy server settings
(setq ntfy-server "https://ntfy.xenia.me.uk"
ntfy-topic "UhrNGphnSKCpCnk8"
ntfy-header "Notification from emacs"
ntfy-tags "purple_circle,loudspeaker")
;; Apheleia settings
(setq apheleia-remote-algorithm 'local)
;; TRAMP settings
(setq tramp-default-method "sshx"
tramp-default-remote-shell "/bin/sh"
tramp-remote-path '(tramp-own-remote-path tramp-default-remote-path))