 
 (defun ar/setup-graphical-mode-line ()
   "Set up graphical mode line."
-  (use-package spaceline :ensure t
-    :config
-    (use-package spaceline-config
-      :config
-      (when (ar/osx-p)
-        ;; OS X color glitches workaround.
-        ;; https://github.com/syl20bnr/spacemacs/issues/4426
-        (validate-setq ns-use-srgb-colorspace nil))
-      (spaceline-toggle-minor-modes-off)
-      (spaceline-toggle-buffer-encoding-off)
-      (spaceline-toggle-buffer-encoding-abbrev-off)
-      (spaceline-toggle-buffer-position-off)
-      (validate-setq spaceline-highlight-face-func 'spaceline-highlight-face-evil-state)
-      (spaceline-define-segment time
-        "The current time."
-        (format-time-string "%H:%M"))
-      (spaceline-define-segment date
-        "The current date."
-        (format-time-string "%h %d"))
-      (spaceline-define-segment padding
-        "Padding at end of line."
-        "  ")
-      (spaceline-spacemacs-theme 'date 'time 'padding)
-      (validate-setq powerline-default-separator 'arrow)
-      (set-face-attribute 'helm-candidate-number nil
-                          :foreground nil
-                          :background nil)
-      (set-face-attribute 'spaceline-highlight-face nil
-                          :foreground "#525086"
-                          :background nil)
-      (set-face-attribute 'mode-line nil
-                          :background nil
-                          :foreground nil
-                          :box nil)
-      (set-face-attribute 'mode-line-buffer-id nil
-                          :background nil
-                          :foreground nil)
-      (set-face-attribute 'powerline-active1 nil
-                          :background "#262525"
-                          :foreground "#ffffff"
-                          :box nil)
-      (set-face-attribute 'powerline-active2 nil
-                          :background nil
-                          :foreground "#ffffff"
-                          :box nil)
-      (set-face-attribute 'powerline-inactive1 nil
-                          :background nil
-                          :foreground nil
-                          :box nil)
-      (set-face-attribute 'powerline-inactive2 nil
-                          :background nil
-                          :box nil)
-      (set-face-attribute 'mode-line-inactive nil
-                          :background nil
-                          :box nil)
-      (spaceline-compile))))
+  ;; Disabling.
+  ;; (use-package spaceline :ensure t
+  ;;   :config
+  ;;   (use-package spaceline-config
+  ;;     :config
+  ;;     (when (ar/osx-p)
+  ;;       ;; OS X color glitches workaround.
+  ;;       ;; https://github.com/syl20bnr/spacemacs/issues/4426
+  ;;       (validate-setq ns-use-srgb-colorspace nil))
+  ;;     (spaceline-toggle-minor-modes-off)
+  ;;     (spaceline-toggle-buffer-encoding-off)
+  ;;     (spaceline-toggle-buffer-encoding-abbrev-off)
+  ;;     (spaceline-toggle-buffer-position-off)
+  ;;     (validate-setq spaceline-highlight-face-func 'spaceline-highlight-face-evil-state)
+  ;;     (spaceline-define-segment time
+  ;;       "The current time."
+  ;;       (format-time-string "%H:%M"))
+  ;;     (spaceline-define-segment date
+  ;;       "The current date."
+  ;;       (format-time-string "%h %d"))
+  ;;     (spaceline-define-segment padding
+  ;;       "Padding at end of line."
+  ;;       "  ")
+  ;;     (spaceline-spacemacs-theme 'date 'time 'padding)
+  ;;     (validate-setq powerline-default-separator 'arrow)
+  ;;     (set-face-attribute 'helm-candidate-number nil
+  ;;                         :foreground nil
+  ;;                         :background nil)
+  ;;     (set-face-attribute 'spaceline-highlight-face nil
+  ;;                         :foreground "#525086"
+  ;;                         :background nil)
+  ;;     (set-face-attribute 'mode-line nil
+  ;;                         :background nil
+  ;;                         :foreground nil
+  ;;                         :box nil)
+  ;;     (set-face-attribute 'mode-line-buffer-id nil
+  ;;                         :background nil
+  ;;                         :foreground nil)
+  ;;     (set-face-attribute 'powerline-active1 nil
+  ;;                         :background "#262525"
+  ;;                         :foreground "#ffffff"
+  ;;                         :box nil)
+  ;;     (set-face-attribute 'powerline-active2 nil
+  ;;                         :background nil
+  ;;                         :foreground "#ffffff"
+  ;;                         :box nil)
+  ;;     (set-face-attribute 'powerline-inactive1 nil
+  ;;                         :background nil
+  ;;                         :foreground nil
+  ;;                         :box nil)
+  ;;     (set-face-attribute 'powerline-inactive2 nil
+  ;;                         :background nil
+  ;;                         :box nil)
+  ;;     (set-face-attribute 'mode-line-inactive nil
+  ;;                         :background nil
+  ;;                         :box nil)
+  ;;     (spaceline-compile)))
+  )
 
 (defun ar/mode-icons-supported-p-advice-fun (orig-fun &rest r)
   "`mode-icons-supported-p' is expensive. Cache it."

(use-package ar-helm-org
  :after (helm helm-org org))
(use-package ar-helm-shell
  :config
  (bind-key "M-r" #'ar/helm-shell-search-history shell-mode-map))
(use-package ar-helm-url
  :after helm)
(use-package ar-helm-hotspots-config

(use-package modal-ivy :after ivy)

;; Easy access to links in buffer (using avy).
(use-package link-hint :ensure t
  :commands (link-hint-open-link))

(use-package bazel-mode
  :mode ("BUILD\\'" . bazel-mode)
