       (setq-default powerline-default-separator 'wave)
       (setq-default mode-line-format '("%e" (:eval
           (let* ((active (eq (frame-selected-window) (selected-window)))
+                 (line-face (if active 'mode-line 'mode-line-inactive))
                  (face1 (if active 'powerline-active1 'powerline-inactive1))
                  (face2 (if active 'powerline-active2 'powerline-inactive2))
                  (state-face (if active (spacemacs/current-state-face) face2))

                      (powerline-buffer-id nil 'l)
                      (powerline-raw " " nil)
                      ;; major mode
                      (funcall separator-left nil face1)
                      (powerline-major-mode face1 'l)
                      (powerline-raw " " face1)
                      (funcall separator-right face1 nil))
                      ;; flycheck
                      (if flycheckp
                          (list

                      ;; window number
                      ;; (funcall separator-left state-face face1)
                      (powerline-raw (spacemacs/window-number) state-face)
                      (funcall separator-right state-face line-face)
                      ;; evil state
                      ;; (powerline-raw evil-mode-line-tag state-face)
                      ;; (funcall separator-right state-face nil)
