 
 ;; Disable various bars
 (menu-bar-mode -1)
-(if (display-graphic-p)
-     (progn
-(tool-bar-mode -1)
-(scroll-bar-mode -1)
-))
+(if (fboundp 'scroll-bar-mode)
+    (progn
+      (tool-bar-mode -1)
+      (scroll-bar-mode -1)
+      ))
 
 (require 'package)
 (package-initialize)

(add-to-list 'auto-mode-alist '("sites-\\(available\\|enabled\\)/" . apache-mode))

;; Themes and stuff
; Yes, all themes are safe.
(setq custom-safe-themes t)
(load-theme 'ample t)


 ((>= emacs-major-version 27)
  (progn
    (setq config-path "~/.config/emacs")))
 ((eql emacs-major-version 26)
  (progn
    (setq config-path "~/.emacs.d"))))

