 
 (add-hook 'prog-mode-hook 'ar/prog-mode-hook)
 
-;; Set font face height. Value is 1/10pt.
-(set-face-attribute 'default nil :height 180)
-
-;; Ensure window is maximized.
-(use-package maxframe
-  :ensure maxframe)
-(add-hook 'window-setup-hook 'maximize-frame t)
-
 (use-package centered-cursor-mode
   :ensure centered-cursor-mode)
 (global-centered-cursor-mode +1)

                                   (emacs-uptime "Uptime:%hh"))))
       ))

;; Highlight lines longer than 100 columns.
(require 'whitespace)
(setq whitespace-line-column 100

  :ensure async)
(require 'async-bytecomp)

;; Display line numbers.
(use-package linum
  :ensure linum)
(global-linum-mode)

;; Right-justify linum
;; From https://github.com/echosa/emacs.d#line-numbers
(setq linum-format (lambda (line)
                     (propertize
                      (format (concat "%"
                                      (number-to-string
                                       (length
                                        (number-to-string
                                         (line-number-at-pos
                                          (point-max)))))
                                      "d ")
                              line)
                      'face
                      'linum)))

(use-package molokai-theme
  :ensure molokai-theme)
(set-face-attribute 'linum nil :background "#1B1D1E")
(set-face-attribute 'fringe nil :background "#1B1D1E")
(set-cursor-color "#0087ff")

;; Hide UI.
(menu-bar-mode -1)
(when (fboundp 'toggle-scroll-bar)
  (toggle-scroll-bar -1))
(when (fboundp 'tool-bar-mode)
  (tool-bar-mode -1))

;; Customizing mode line.
;; Based on http://emacs-fu.blogspot.co.uk/2011/08/customizing-mode-line.html
