 (use-package mu4e-alert
   ;; https://github.com/iqbalansari/mu4e-alert
   ;; Desktop notifications and modeline display for mu4e
-  )
+  :init
+  (add-hook 'after-init-hook #'mu4e-alert-enable-mode-line-display))
 
 ;;; ..:: Git ::..
 

  ;; https://github.com/seagle0128/doom-modeline
  ;; A fancy and fast mode-line inspired by minimalism design.
  :init (setq doom-modeline-height 10
	      doom-modeline-bar-width 3
	      doom-modeline-major-mode-icon nil
	      doom-modeline-icon nil
	      doom-modeline-buffer-state-icon nil

;;; ..:: General helper functions ::..

;;;###autoload
(defun danylo/fancy-icon (icon-lib icon-family icon &optional fg)
  "Fontawesome icon with proper formatting for minibuffer"
  (unless fg
    (setq fg `,(face-attribute 'default :foreground)))
  (if (window-system)
      (propertize (funcall icon-lib icon)
		  'face `(:family ,(funcall icon-family)
				  :height 0.95
				  :foreground ,fg)
		  'display '(raise -0.05))
    ""))

;;;###autoload
(defun danylo/fa-icon (icon &optional fg)
  "Fontawesome icon with proper formatting."
  (danylo/fancy-icon 'all-the-icons-faicon 'all-the-icons-faicon-family
		     icon fg))

;;;###autoload
(defun danylo/octicon (icon &optional fg)
  "Octicon with proper formatting."
  (danylo/fancy-icon 'all-the-icons-octicon 'all-the-icons-octicon-family
		     icon fg))

;;;###autoload
(cl-defun danylo/quelpa-use-package-upgrade (&key (reloadp t))
