Emacs
Emacs can be themed using the Noctalia color scheme through the built-in theme system.
-
Enable Emacs theming in Noctalia:
- Open Settings → Color Scheme → Templates → Programs
- Toggle on Emacs
-
Add the theme to your Emacs configuration: Add the following line to your Emacs configuration file (typically
~/.emacs.d/config.el, or~/.config/doom/config.el):(load-theme 'noctalia t)The
targument enables the theme immediately and disables any previously active themes. -
Reload your configuration:
- Restart Emacs, or
- Evaluate the expression:
M-x eval-bufferorC-x C-eafter the line
Configuration Example
Section titled “Configuration Example”Here’s a complete example of how to add it to your config.el:
;; Load Noctalia theme(load-theme 'noctalia t)You can also add it conditionally or after other configurations:
;; Load Noctalia theme after startup(add-hook 'after-init-hook (lambda () (load-theme 'noctalia t)))Troubleshooting
Section titled “Troubleshooting”- Theme not found: Ensure that Emacs theming is enabled in Noctalia settings and that the theme files are being generated correctly
- Theme not applying: Make sure you’ve added
(load-theme 'noctalia t)to your Emacs configuration file - Colors not updating: Restart Emacs or reload your configuration after changing color schemes in Noctalia
- Theme conflicts: The
targument inload-themedisables other themes. If you want to keep other themes, you may need to adjust your configuration
Additional Notes
Section titled “Additional Notes”The Noctalia theme for Emacs integrates with Noctalia’s color scheme system. When you change color schemes in Noctalia, the Emacs theme will be regenerated to match. You’ll need to reload the theme in Emacs to see the changes:
(load-theme 'noctalia t)Or use M-x load-theme and select noctalia from the list.