Update Font and Whitespaces

This commit is contained in:
Marco Thomas
2021-06-01 11:09:07 +02:00
parent f61a9d69f4
commit 8a4c1b83c2
21 changed files with 9 additions and 17 deletions

View File

@@ -34,7 +34,7 @@ window:
font: font:
normal: normal:
family: FiraCode Nerd Font Mono family: SFMono Nerd Font Mono
style: Regular style: Regular
background_opacity: 1 background_opacity: 1

View File

@@ -25,7 +25,8 @@
(setq show-paren-style 'paranthesis) (setq show-paren-style 'paranthesis)
;; Font ;; Font
(set-face-attribute 'default nil :font "FiraCode Nerd Font Mono" :height 100) (set-face-attribute 'default nil :font "SFMono Nerd Font Mono" :height 100)
(add-to-list 'default-frame-alist '(font . "SFMono Nerd Font Mono"))
;; Make ESC quit prompts ;; Make ESC quit prompts
(global-set-key (kbd "<escape>") 'keyboard-escape-quit) (global-set-key (kbd "<escape>") 'keyboard-escape-quit)
@@ -45,8 +46,10 @@
(add-hook 'evil-insert-state-entry-hook #'noct:absolute) (add-hook 'evil-insert-state-entry-hook #'noct:absolute)
(add-hook 'evil-insert-state-exit-hook #'noct:relative) (add-hook 'evil-insert-state-exit-hook #'noct:relative)
;; Show trailing whitespaces ;; whitespaces
(setq-default show-trailing-whitespace t) (whitespace-mode)
(setq whitespace-style '(face trailing tabs tab-mark))
(require 'package) (require 'package)
(setq package-enable-at-startup nil) (setq package-enable-at-startup nil)
@@ -81,7 +84,8 @@
:config :config
(setq doom-gruvbox-light-variant "soft") (setq doom-gruvbox-light-variant "soft")
(load-theme 'doom-gruvbox-light t) (load-theme 'doom-gruvbox-light t)
(doom-themes-org-config)) (doom-themes-org-config)
(doom-themes-treemacs-config))
(use-package doom-modeline (use-package doom-modeline
:ensure t :ensure t

View File

@@ -1,12 +0,0 @@
#!/bin/sh
# Make sure the paths are correct
path=$(pwd)
fontpattern="*.*tf"
cp $path/$fontpattern $HOME/.local/share/fonts/.
echo "Fonts copied, reloading cache..."
fc-cache -v
echo "Done!"