Emacs: Add my/reload-theme, some dependency fixes.
This commit is contained in:
parent
9cac6967a1
commit
5ac733498a
|
@ -1,6 +1,6 @@
|
|||
;;; appearance.el --- Configure appearance. -*- lexical-binding: t; -*-
|
||||
|
||||
;; Time-stamp: <2020-11-21T22:03:10+0100>
|
||||
;; Time-stamp: <2020-11-26T13:18:43+0100>
|
||||
|
||||
;;; Commentary:
|
||||
|
||||
|
@ -63,14 +63,16 @@
|
|||
:custom ((doom-themes-treemacs-theme "doom-colors")
|
||||
(doom-themes-treemacs-enable-variable-pitch nil))
|
||||
:config (progn
|
||||
(load-theme 'doom-outrun-electric t)
|
||||
(defun my/reload-theme ()
|
||||
(load-theme 'doom-outrun-electric t)
|
||||
(set-face-background 'scroll-bar (face-background 'default))
|
||||
(set-face-foreground 'scroll-bar (face-foreground 'shadow)))
|
||||
(my/reload-theme)
|
||||
|
||||
(doom-themes-visual-bell-config) ; Flash modeline on error.
|
||||
(when (display-graphic-p)
|
||||
(doom-themes-treemacs-config))
|
||||
|
||||
(set-face-background 'scroll-bar (face-background 'default))
|
||||
(set-face-foreground 'scroll-bar (face-foreground 'shadow))
|
||||
|
||||
;; Write a minimal theme to file, to load it in early-init.el.
|
||||
(unless (string= (face-background 'default) "unspecified-bg")
|
||||
(let ((minimal-theme))
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
;;; ui.el --- Configure user interfaces. -*- lexical-binding: t; -*-
|
||||
|
||||
;; Time-stamp: <2020-11-26T12:44:15+0100>
|
||||
;; Time-stamp: <2020-11-26T13:13:57+0100>
|
||||
|
||||
;;; Commentary:
|
||||
;; * treemacs
|
||||
|
@ -13,7 +13,7 @@
|
|||
(require 'basics/package-management)
|
||||
|
||||
(use-package treemacs
|
||||
:after (display-line-numbers)
|
||||
:after (display-line-numbers doom-themes)
|
||||
;; ;; Start with a clean workspace list.
|
||||
;; :init (delete-file (expand-file-name ".cache/treemacs-persist"
|
||||
;; user-emacs-directory))
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
;;; common.el --- Common settings for text files. -*- lexical-binding: t; -*-
|
||||
|
||||
;; Time-stamp: <2020-11-18T18:37:20+0100>
|
||||
;; Time-stamp: <2020-11-26T13:04:50+0100>
|
||||
|
||||
;;; Commentary:
|
||||
|
||||
|
@ -49,6 +49,7 @@
|
|||
|
||||
;; Ruler with fill-column marker.
|
||||
(use-package ruler-mode
|
||||
:after (doom-themes)
|
||||
:config (progn
|
||||
(set-face-background 'ruler-mode-default
|
||||
(face-foreground 'line-number))
|
||||
|
|
Loading…
Reference in New Issue
Block a user