From e5596bc547ccf23a7282c75df3695e6430e1d94f Mon Sep 17 00:00:00 2001 From: Thanos Apollo Date: Tue, 11 Apr 2023 02:53:48 +0300 Subject: emacs:Change font size for x220 hermes --- .emacs.d/init.el | 21 ++++++++++++--------- 1 file changed, 12 insertions(+), 9 deletions(-) (limited to '.emacs.d') diff --git a/.emacs.d/init.el b/.emacs.d/init.el index 52e1174..6a8a315 100644 --- a/.emacs.d/init.el +++ b/.emacs.d/init.el @@ -70,7 +70,8 @@ (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)) @@ -138,6 +139,8 @@ Contains the list of packages that need to be installed.") (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" @@ -551,14 +554,14 @@ Contains the list of packages that need to be installed.") :keymaps 'org-mode-map "3" 'org-insert-image-size-300) -(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)) (add-hook 'org-mode-hook 'org-make-toc-mode) -- cgit v1.2.3