X-Git-Url: http://47.100.26.94:8080/?a=blobdiff_plain;f=emacs.d%2Fconfig%2Finit-color-theme.el;h=883e802677fa28d59d9ed471a4bbc9c9d3b1b6eb;hb=48e62fd9c6e9d9f31f402b5668ae10d031aecf3d;hp=0f4533646d45a50eafe4f16124fe0eb0d0885c39;hpb=146b3f5c28f6026c463939841bd44102d0513c59;p=dotfiles.git diff --git a/emacs.d/config/init-color-theme.el b/emacs.d/config/init-color-theme.el index 0f45336..883e802 100644 --- a/emacs.d/config/init-color-theme.el +++ b/emacs.d/config/init-color-theme.el @@ -20,6 +20,7 @@ ;;; this variable should equal as height in mode-line (custom-set-variables + '(powerline-height 14) '(powerline-text-scale-factor 0.85)) ;; 100/140 (custom-set-faces @@ -234,7 +235,8 @@ ;; ) ;; ;; ) - (powerline-raw (powerline-evil-tag) pl-evil-face) + (if evil-mode + (powerline-raw (powerline-evil-tag) pl-evil-face)) ;;; (and evil-mode (funcall separator-left pppp-face face-yel)) ;;;;;; (funcall separator-left pppp-face pppp-face) ;;;; (powerline-raw (powerline-evil-tag) pppp-face face-yel) @@ -257,15 +259,16 @@ (list (funcall separator-right face1 mode-line) ;; position - (powerline-raw (concat "%3c, %l/" (format "%d" (count-lines (point-min) (point-max))) " %4p ") mode-line) +;; (powerline-raw (concat " [" (powerline-format-default-directory default-directory) "] ") mode-line) + (powerline-raw (format " P:[%s] " (projectile-project-name)) mode-line) (funcall separator-right mode-line face-blue) ;; pwd/workgroups - (powerline-raw (concat " [" (powerline-format-default-directory default-directory) "] ") face-blue ) - (funcall separator-right face-blue face1) + (powerline-raw (concat "%3c, %l/" (format "%d" (count-lines (point-min) (point-max))) " %4p ") face-blue) +; (funcall separator-right face-blue face1) ;; date and time - (powerline-raw (format-time-string " %m-%d") face1 'r) - (funcall separator-right face1 face-yel) - (powerline-raw (format-time-string " %I:%M %p %a ") face-yel 'r))) +;;; (powerline-raw (format-time-string " %m-%d") face1 'r) + (funcall separator-right face-blue face-yel) + (powerline-raw (format-time-string " %I:%M %p %m-%d %a ") face-yel 'r))) (center (list (powerline-raw " " face1)