* .Xresources.d/emacs: Clean up old commented entries.
[~bandali/configs] / .emacs.d / lisp / bandali-theme.el
index c63234a..fa5911c 100644 (file)
 
 ;;; Code:
 
 
 ;;; Code:
 
-(with-eval-after-load 'package
-  (require 'refinery-theme)
-  (load-theme 'refinery t))
+(when (display-graphic-p)
+  (add-to-list 'load-path (b/lisp "refinery-theme"))
+  (with-eval-after-load 'package
+    (require 'refinery-theme)
+    (load-theme 'refinery t)))
 
 ;; (require 'smart-mode-line)
 ;; ;; thanks, but no thanks; don't make fixed-width fills.
 
 ;; (require 'smart-mode-line)
 ;; ;; thanks, but no thanks; don't make fixed-width fills.