From 6c99cf58596eca948156585fe2a1a7972b6aabad Mon Sep 17 00:00:00 2001 From: Ryan Kavanagh Date: Mon, 25 Oct 2021 14:09:49 -0400 Subject: make theming hostname dependent in emacs --- .emacs | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) diff --git a/.emacs b/.emacs index 2616866..d791bb4 100644 --- a/.emacs +++ b/.emacs @@ -34,6 +34,18 @@ :custom-face (default ((t (:family "Input Mono" :foundry "FBI " :slant normal :weight normal :height 89 :width normal))))) +(if (string= (system-name) "demeter.rak.ac") + (use-package leuven-theme ; nice theme for lecturing / projectors + :ensure t + :config + (load-theme 'leuven t)) + (use-package moe-theme + :ensure t + :after powerline ; must be loaded after for powerline-moe-theme to work + :config + (moe-dark) + (powerline-moe-theme))) + ;; (use-package auctex ;; :config ;; ;; From @@ -453,13 +465,6 @@ Otherwise split the current paragraph into one sentence per line." ;; Cycle through tab-completions with tab if there are less than 5 (setq completion-cycle-threshold 5)) -(use-package moe-theme - :ensure t - :after powerline ; must be loaded after for powerline-moe-theme to work - :config - (moe-dark) - (powerline-moe-theme)) - (use-package ocp-indent :ensure t) -- cgit v1.2.3