summaryrefslogtreecommitdiff
path: root/.emacs.d/init.el
diff options
context:
space:
mode:
authorThanos Apollo <[email protected]>2023-04-11 02:53:48 +0300
committerThanos Apollo <[email protected]>2023-04-11 03:30:45 +0300
commite5596bc547ccf23a7282c75df3695e6430e1d94f (patch)
treed773169e46502eedcbdafcb3d50a6e5cbc09db42 /.emacs.d/init.el
parent2faebfea724eabccafac7eb2d7bafeba6a93c884 (diff)
emacs:Change font size for x220 hermes
Diffstat (limited to '.emacs.d/init.el')
-rw-r--r--.emacs.d/init.el21
1 files changed, 12 insertions, 9 deletions
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)