Make the style a modified color-theme-comidia, instead of loading it and then modifying.
1 (defun jdz-get-hostname (&optional long-p)
2 "Get the current hostname by calling 'hostname'"
4 (let ((jdz-hostname-buffer (generate-new-buffer " get-hostname"))
8 (set-buffer jdz-hostname-buffer)
10 (list "hostname" nil t nil))
11 (skip-chars-backward "\n\t ")
12 (setq hostname (buffer-substring (point-min) (point))))
13 (kill-buffer jdz-hostname-buffer))
18 (add-hook 'after-make-frame-functions
21 (add-to-list 'default-frame-alist
23 (/ (x-display-pixel-height)
25 (add-to-list 'default-frame-alist
27 (/ (x-display-pixel-width)
28 (frame-char-width))))))))
31 (add-hook 'after-make-frame-functions
33 (if (and (string= system-type "gnu/linux")
34 (string= (jdz-get-hostname) "spacebuntu"))
35 (set-frame-font "DejaVu Sans Mono-11")
36 ;;(set-frame-font "Inconsolata-15")
37 ;;(set-frame-font "Consolas-14")
38 (if (string= system-type "windows-nt")
39 (set-frame-font "Consolas")))))
42 ;; (add-hook 'after-make-frame-functions
45 ;; (set-frame-height frame
47 ;; (/ (x-display-pixel-height)
48 ;; (frame-char-height))
50 ;; (set-frame-width frame
51 ;; (/ (x-display-pixel-width)
52 ;; (frame-char-width))))))
54 (add-hook 'after-make-frame-functions
56 (set-variable 'color-theme-is-global nil)
60 ;;; color-them-that-actually-works-but-only-if-we're-not-in-a-terminal:
62 (setq load-path (cons "~/.emacs.d/plugins/color-theme-6.6.0"
65 ;;(load "themes/color-theme-tango")
66 ;;(load "themes/color-theme-inkpot")
67 ;;(load "themes/color-theme-intrepid")
68 ;;(color-theme-intrepid)
70 ;; this is required for the remaining color themes
71 (load "themes/color-theme-library")
73 ;;(color-theme-oswald)
74 ;;(color-theme-subtle-hacker)
75 ;;(load "color-theme-taming-mr-arneson")
76 ;;(color-theme-taming-mr-arneson)
77 ;;(color-theme-comidia)
78 (load "themes/color-theme-comidia-modified")
79 (color-theme-comidia-modified)
81 (color-theme-tty-dark))))
85 (run-hook-with-args 'after-make-frame-functions (car (frame-list)))))