config/emacs: use moe-theme

This commit is contained in:
Sakooooo 2024-08-09 21:12:28 +04:00
parent 99a755505b
commit e33b8f5986
Signed by: sako
GPG key ID: 3FD715D87D7725E0

View file

@ -201,34 +201,38 @@ kept-old-versions 5)
#+end_src #+end_src
** Appearance ** Appearance
#+begin_src emacs-lisp #+begin_src emacs-lisp
;; TODO: change this for something better i guess ;; TODO: change this for something better i guess
(use-package doom-themes ;; (use-package doom-themes
:config ;; :config
(load-theme 'doom-monokai-spectrum t)) ;; (load-theme 'doom-monokai-spectrum t))
;; emacsclient things (use-package moe-theme
(setq frame-resize-pixelwise t) :config
;; ui settings apparently go below (moe-dark))
(setq default-frame-alist '((font . "JetBrainsMono NF")
'(vertical-scroll-bars . nil)
'(horizontal-scroll-bars . nil)))
;; GO AWAY ;; emacsclient things
(defun my/disable-scroll-bars (frame) (setq frame-resize-pixelwise t)
(modify-frame-parameters frame ;; ui settings apparently go below
'((vertical-scroll-bars . nil) (setq default-frame-alist '((font . "JetBrainsMono NF")
(horizontal-scroll-bars . nil)))) '(vertical-scroll-bars . nil)
(add-hook 'after-make-frame-functions 'my/disable-scroll-bars) '(horizontal-scroll-bars . nil)))
;; GO AWAY
(defun my/disable-scroll-bars (frame)
(modify-frame-parameters frame
'((vertical-scroll-bars . nil)
(horizontal-scroll-bars . nil))))
(add-hook 'after-make-frame-functions 'my/disable-scroll-bars)
;; y/n is better than yes/no ;; y/n is better than yes/no
(fset 'yes-or-no-p 'y-or-n-p) (fset 'yes-or-no-p 'y-or-n-p)
;; font ;; font
(set-face-attribute 'default nil (set-face-attribute 'default nil
:font "JetBrainsMono NF" :font "JetBrainsMono NF"
:weight 'light :weight 'light
:height 125) :height 125)
#+end_src #+end_src
** Emacs Client ** Emacs Client
#+begin_src emacs-lisp #+begin_src emacs-lisp