Use modus-themes
This commit is contained in:
18
init.el
18
init.el
@@ -29,13 +29,13 @@
|
|||||||
(straight-use-package 'bind-key)
|
(straight-use-package 'bind-key)
|
||||||
|
|
||||||
;; Themeing
|
;; Themeing
|
||||||
(use-package solarized-theme
|
(use-package modus-themes
|
||||||
:straight t
|
:straight t
|
||||||
:config
|
:config
|
||||||
;; Load the theme of your choice.
|
;; Load the theme of your choice.
|
||||||
(if (file-exists-p "~/.emacs.d/dark-mode")
|
(if (file-exists-p "~/.emacs.d/dark-mode")
|
||||||
(load-theme 'solarized-dark t)
|
(load-theme 'modus-vivendi t)
|
||||||
(load-theme 'solarized-light t))
|
(load-theme 'modus-operandi t))
|
||||||
|
|
||||||
(define-key global-map (kbd "<f5>")
|
(define-key global-map (kbd "<f5>")
|
||||||
(lambda ()
|
(lambda ()
|
||||||
@@ -45,13 +45,13 @@
|
|||||||
(delete-file dark-mode-file)
|
(delete-file dark-mode-file)
|
||||||
(with-temp-buffer
|
(with-temp-buffer
|
||||||
(write-file dark-mode-file)))
|
(write-file dark-mode-file)))
|
||||||
(solarized-toggle-theme)))))
|
(modus-themes-toggle))))
|
||||||
|
|
||||||
;; Default frame size
|
;; Default frame size
|
||||||
(setq default-frame-alist
|
(setq default-frame-alist
|
||||||
(append (list '(width . 90) '(height . 50)
|
(append (list '(width . 90) '(height . 50)
|
||||||
'(vertical-scroll-bars . nil)
|
'(vertical-scroll-bars . nil)
|
||||||
'(internal-border-width . 5))))
|
'(internal-border-width . 5)))))
|
||||||
|
|
||||||
;; Disable some UI elements
|
;; Disable some UI elements
|
||||||
(tool-bar-mode -1)
|
(tool-bar-mode -1)
|
||||||
|
|||||||
Reference in New Issue
Block a user