big-mode: adjust powerline-height

This commit is contained in:
Henrik Lissner 2016-02-26 00:03:19 -05:00
parent 6fee23e7fd
commit 55d016289c
2 changed files with 4 additions and 5 deletions

View file

@ -8,8 +8,7 @@
;; Big-mode settings
(defconst big-mode-font (font-spec :family "Hack" :size 16))
(defconst big-mode-line-spacing 0)
(defvar big-mode--line-spacing line-spacing)
(defconst big-mode-modeline-height 26)
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
@ -24,12 +23,14 @@
;;;
(defvar big-mode-font narf-default-font)
(defvar big-mode--line-spacing line-spacing)
(defvar big-mode--powerline-height powerline-height)
(define-minor-mode big-mode
:init-value nil
:lighter " BIG"
:global t
(setq-default powerline-height (if big-mode big-mode-modeline-height big-mode--powerline-height))
(narf/load-font (if big-mode big-mode-font narf-default-font))
(setq-default line-spacing (if big-mode big-mode-line-spacing big-mode--line-spacing)))