 
 ;; Private setup, passwords and key
 (let ((private-file "~/.emacs.d/private.el"))
-  (if (file-readable-p private-file)
-      (load-file private-file)))
+  (when (file-readable-p private-file)
+    (load-file private-file)))

        '(magit-item-mark ((t nil)))))))

;; Mac specific stuff
(if (eq system-type 'darwin)
    (lambda ()
      "Mac hook"
      (setq ns-use-srgb-colorspace t)
      (setq mac-option-modifier 'meta)
      (setq mac-command-modifier 'control)
      (setq ns-function-modifier 'control)))

;; Start maximized
;; Mac ignores it, i3 don't need it anyway

	(menu-bar-mode t)
  (menu-bar-mode -1))

(when window-system
  (scroll-bar-mode -1)
  (tool-bar-mode -1)
  (tooltip-mode -1))

;; A pretty bar cursor
(setq-default cursor-type '(bar . 2))
