summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormattkae <mattkae@protonmail.com>2023-05-11 09:04:39 -0400
committermattkae <mattkae@protonmail.com>2023-05-11 09:04:39 -0400
commitfe4aee4c602a4526dbc81bc9945ef10319790f3e (patch)
tree674e1ac01d2db51deaf7a84fc6a04378a8bd900a
parent6448931675e1814a3b2195b43e03aae48c15e00b (diff)
Using material theme, lowering opacity, and fixing how we highlight lines
-rw-r--r--init.el19
-rw-r--r--lisp/general.el13
2 files changed, 12 insertions, 20 deletions
diff --git a/init.el b/init.el
index a3dc81d..f152672 100644
--- a/init.el
+++ b/init.el
@@ -29,15 +29,20 @@
gcs-done)))
;; Theme
-(use-package doom-themes
+;; (use-package doom-themes
+;; :ensure t
+;; :config
+;; (load-theme 'doom-ayu-mirage t)
+;; (doom-themes-org-config)
+;; )
+
+(use-package material-theme
:ensure t
:config
- (load-theme 'doom-ayu-mirage t)
- (doom-themes-org-config)
- )
+ (load-theme 'material t))
-(set-frame-parameter (selected-frame) 'alpha '(95 95))
-(add-to-list 'default-frame-alist '(alpha 95 95))
+(set-frame-parameter (selected-frame) 'alpha '(99 99))
+(add-to-list 'default-frame-alist '(alpha 99 99))
(require 'general)
(require 'cpp)
@@ -64,7 +69,7 @@
'(custom-safe-themes
'("3c83b3676d796422704082049fc38b6966bcad960f896669dfc21a7a37a748fa" "a27c00821ccfd5a78b01e4f35dc056706dd9ede09a8b90c6955ae6a390eb1c1e" default))
'(package-selected-packages
- '(esup glsl-mode fast-scroll yasnippet-snippets jsdoc helm-slack slack smart-mode-line magit rust-mode xref-js2 web-mode vterm-toggle vscode-dark-plus-theme treemacs-projectile tree-sitter-langs tide tern smartparens rtags req-package rainbow-mode pythonic python-mode perfect-margin org-roam org-notify org-modern org-bullets org-alert minimap markdown-mode json-mode js2-refactor js2-highlight-vars js-doc ido-vertical-mode hl-todo highlight-thing highlight-indent-guides helm-projectile helm-posframe helm-ag good-scroll go-mode git-gutter-fringe git-commit flycheck-irony evil eslint-fix emojify eldoc-box eglot drag-stuff doom-themes dashboard css-eldoc counsel company-quickhelp company-irony cmake-mode cmake-ide auctex all-the-icons ac-js2))
+ '(material-theme esup glsl-mode fast-scroll yasnippet-snippets jsdoc helm-slack slack smart-mode-line magit rust-mode xref-js2 web-mode vterm-toggle vscode-dark-plus-theme treemacs-projectile tree-sitter-langs tide tern smartparens rtags req-package rainbow-mode pythonic python-mode perfect-margin org-roam org-notify org-modern org-bullets org-alert minimap markdown-mode json-mode js2-refactor js2-highlight-vars js-doc ido-vertical-mode hl-todo highlight-thing highlight-indent-guides helm-projectile helm-posframe helm-ag good-scroll go-mode git-gutter-fringe git-commit flycheck-irony evil eslint-fix emojify eldoc-box eglot drag-stuff doom-themes dashboard css-eldoc counsel company-quickhelp company-irony cmake-mode cmake-ide auctex all-the-icons ac-js2))
'(safe-local-variable-values '((js-indent-level . 4))))
(custom-set-faces
;; custom-set-faces was added by Custom.
diff --git a/lisp/general.el b/lisp/general.el
index b4b41f7..7663579 100644
--- a/lisp/general.el
+++ b/lisp/general.el
@@ -144,19 +144,6 @@
;; Line highlighting
(global-hl-line-mode 1)
-(set-face-background 'hl-line "unspecified")
-(set-face-attribute 'hl-line nil
- :box '(:line-width -1
- :color "gray90"
- :style nil))
-(defun visual-line-range ()
- """Purpose is to only highlight the visual line even when the real line wraps. (Source: https://stackoverflow.com/questions/31541907/highlight-a-single-line-in-a-larger-word-wrapped-line)"""
- (save-excursion
- (cons
- (progn (beginning-of-visual-line) (point))
- (progn (end-of-visual-line) (point)))))
-
-(setq hl-line-range-function 'visual-line-range)
;; Git