   (async-shell-command "osascript -e 'tell application \"iTunes\" to set shuffle enabled to true' && osascript -e 'tell application \"iTunes\" to play playlist \"CodiFi\"'")
 )
 
-;; window purpose
-(purpose-mode)
+(when (display-graphic-p)
+  (message "%s" (scroll-bar-mode))
+  ;; hide all windowing adornments
+  (if (fboundp 'scroll-bar-mode) (scroll-bar-mode -1))
+  (if (fboundp 'tool-bar-mode) (tool-bar-mode -1))
+  (if (fboundp 'menu-bar-mode) (menu-bar-mode -1))
+  ;; make it yuge
+  (toggle-frame-maximized))

;; some of this is cribbed from Yegge
;; https://sites.google.com/site/steveyegge2/effective-emacs
(server-start)

(require 'cl)


(load "my_func.el")
(load "init_packages.el")

;; window purpose
;; (purpose-mode) ;; causing all sorts of weird issues with find file and Help buffer

;; standard shit
(setq-default indent-tabs-mode nil)
