diff options
author | Thanos Apollo <[email protected]> | 2023-04-11 02:53:48 +0300 |
---|---|---|
committer | Thanos Apollo <[email protected]> | 2023-04-11 03:30:45 +0300 |
commit | e5596bc547ccf23a7282c75df3695e6430e1d94f (patch) | |
tree | d773169e46502eedcbdafcb3d50a6e5cbc09db42 /org | |
parent | 2faebfea724eabccafac7eb2d7bafeba6a93c884 (diff) |
emacs:Change font size for x220 hermes
Diffstat (limited to 'org')
-rwxr-xr-x | org/emacs.org | 23 |
1 files changed, 13 insertions, 10 deletions
diff --git a/org/emacs.org b/org/emacs.org index 7b0a5ba..02a9cd7 100755 --- a/org/emacs.org +++ b/org/emacs.org @@ -88,7 +88,8 @@ Set our ~package-archives~, and install our packages #+begin_src emacs-lisp (setq package-archives '(("melpa" . "https://melpa.org/packages/") ("org" . "https://orgmode.org/elpa/") - ("elpa" . "https://elpa.gnu.org/packages/"))) + ("elpa" . "https://elpa.gnu.org/packages/") + ("jcs-elpa" . "https://jcs-emacs.github.io/jcs-elpa/packages/"))) (package-initialize) (unless package-archive-contents (package-refresh-contents)) @@ -112,7 +113,7 @@ Set our ~package-archives~, and install our packages (unless (package-installed-p 'use-package) (package-install 'use-package)) - + ;; set and load custom.el (setq custom-file (concat user-emacs-directory "custom.el")) (load custom-file 'noerror) @@ -161,6 +162,8 @@ Fonts and basic appearance settings (add-hook mode (lambda () (display-line-numbers-mode 0)))) (defvar apollo/default-font-size 140) + (when (equal (system-name) "hermes") + (setq apollo/default-font-size 110)) (set-face-attribute 'default nil :font "JetBrains Mono" @@ -606,14 +609,14 @@ Hook with ~dired-mode~ #+end_src ** ChatGPT #+begin_src emacs-lisp - (require 'quelpa-use-package) - (use-package chatgpt - :quelpa ((chatgpt :fetcher git :url "https://github.com/joshcho/ChatGPT.el.git") :upgrade t) - :init - (require 'python) - (setq chatgpt-repo-path (expand-file-name "chatgpt/" quelpa-build-dir)) - (setq python-interpreter "/usr/bin/python3") - :bind ("C-c q" . chatgpt-query)) + ;; (require 'quelpa-use-package) + ;; (use-package chatgpt + ;; :quelpa ((chatgpt :fetcher git :url "https://github.com/joshcho/ChatGPT.el.git") :upgrade t) + ;; :init + ;; (require 'python) + ;; (setq chatgpt-repo-path (expand-file-name "chatgpt/" quelpa-build-dir)) + ;; (setq python-interpreter "/usr/bin/python3") + ;; :bind ("C-c q" . chatgpt-query)) #+end_src * Org-mode Configuration ** org-make-toc |