making emacs decorate less
This commit is contained in:
parent
11321edc89
commit
2ac0daa4a0
|
@ -97,8 +97,8 @@ In order to have this config work on both my desktop with regular joe-schmoe mon
|
||||||
:height chris/default-font-size)
|
:height chris/default-font-size)
|
||||||
(set-face-attribute 'fixed-pitch nil :font "VictorMono Nerd Font"
|
(set-face-attribute 'fixed-pitch nil :font "VictorMono Nerd Font"
|
||||||
:height chris/default-font-size)
|
:height chris/default-font-size)
|
||||||
(set-face-attribute 'variable-pitch nil :font "Cantarell"
|
(set-face-attribute 'variable-pitch nil :font "Noto Sans"
|
||||||
:height (+ chris/default-font-size (/ chris/default-font-size 8))
|
:height (+ chris/default-font-size (/ chris/default-font-size 12))
|
||||||
:weight 'regular))
|
:weight 'regular))
|
||||||
|
|
||||||
(defun chris/set-transparency ()
|
(defun chris/set-transparency ()
|
||||||
|
@ -117,6 +117,8 @@ In order to have this config work on both my desktop with regular joe-schmoe mon
|
||||||
(with-selected-frame frame
|
(with-selected-frame frame
|
||||||
(chris/set-font-faces)))
|
(chris/set-font-faces)))
|
||||||
(chris/set-font-faces)))
|
(chris/set-font-faces)))
|
||||||
|
|
||||||
|
(add-to-list 'default-frame-alist '(undecorated . t))
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
Then let's make sure line-numbers are relative and on. And let's turn on visual-line-mode globally.
|
Then let's make sure line-numbers are relative and on. And let's turn on visual-line-mode globally.
|
||||||
|
|
6
init.el
6
init.el
|
@ -32,8 +32,8 @@
|
||||||
:height chris/default-font-size)
|
:height chris/default-font-size)
|
||||||
(set-face-attribute 'fixed-pitch nil :font "VictorMono Nerd Font"
|
(set-face-attribute 'fixed-pitch nil :font "VictorMono Nerd Font"
|
||||||
:height chris/default-font-size)
|
:height chris/default-font-size)
|
||||||
(set-face-attribute 'variable-pitch nil :font "Cantarell"
|
(set-face-attribute 'variable-pitch nil :font "Noto Sans"
|
||||||
:height (+ chris/default-font-size (/ chris/default-font-size 8))
|
:height (+ chris/default-font-size (/ chris/default-font-size 12))
|
||||||
:weight 'regular))
|
:weight 'regular))
|
||||||
|
|
||||||
(defun chris/set-transparency ()
|
(defun chris/set-transparency ()
|
||||||
|
@ -53,6 +53,8 @@
|
||||||
(chris/set-font-faces)))
|
(chris/set-font-faces)))
|
||||||
(chris/set-font-faces)))
|
(chris/set-font-faces)))
|
||||||
|
|
||||||
|
(add-to-list 'default-frame-alist '(undecorated . t))
|
||||||
|
|
||||||
(setq display-line-numbers-type 'relative)
|
(setq display-line-numbers-type 'relative)
|
||||||
(global-display-line-numbers-mode +1)
|
(global-display-line-numbers-mode +1)
|
||||||
(add-hook 'prog-mode-hook (display-line-numbers-mode +1))
|
(add-hook 'prog-mode-hook (display-line-numbers-mode +1))
|
||||||
|
|
Loading…
Reference in a new issue