ui.el 471 B

12345678910111213
  1. ;;; ../../lyfi/configs/apps/doom/custom/ui.el -*- lexical-binding: t; -*-
  2. (defun my/apply-theme (frame)
  3. "Apply a specific theme based on whether the FRAME is graphic or TUI."
  4. (select-frame frame)
  5. (if (display-graphic-p frame)
  6. (progn
  7. (mapc #'disable-theme custom-enabled-themes)
  8. (load-theme 'cutarv32 t)) ;; Your GUI theme
  9. (progn
  10. (mapc #'disable-theme custom-enabled-themes)
  11. (load-theme 'cutarv32_dark t)))) ;; Your TUI theme