Better emoji support in emacs (+ other)

This commit is contained in:
marc
2025-09-20 16:48:22 +02:00
parent 97b58f141a
commit ed00a90dda
5 changed files with 27 additions and 8 deletions

View File

@@ -12,6 +12,7 @@
;; Fonts
(setq doom-font (font-spec :family "Iosevka Nerd Font" :size 18))
(setq doom-symbol-font (font-spec :family "Iosevka Nerd Font" :size 18))
(setq doom-emoji-font (font-spec :family "Noto Color Emoji" :size 18))
;; Themeing
(use-package base16-theme
@@ -48,6 +49,18 @@
(setq-default tab-width 4)
;; -----------------------------------------------------------------------------
;; Emojify
;; -----------------------------------------------------------------------------
(use-package! emojify
:config
(when (member "Noto Color Emoji" (font-family-list))
(set-fontset-font
t 'emoji (font-spec :family "Noto Color Emoji") nil 'prepend))
(setq emojify-display-style 'image)
(setq emojify-emoji-styles '(unicode)))
;; -----------------------------------------------------------------------------
;; Projectile
;; -----------------------------------------------------------------------------

View File

@@ -30,7 +30,7 @@
doom ; what makes DOOM look the way it does
doom-dashboard ; a nifty splash screen for Emacs
;; doom-quit ; DOOM quit-message prompts when you quit Emacs
;;(emoji +unicode) ; 🙂
(emoji +unicode) ; 🙂
;; fill-column ; a `fill-column' indicator
hl-todo ; highlight TODO/FIXME/NOTE/DEPRECATED/HACK/REVIEW
;;hydra

View File

@@ -3,7 +3,7 @@
with lib;
let
nix-colors-lib = inputs.nix-colors.lib-contrib { inherit pkgs; };
wallpaper = ../../data/wallpapers/wallhaven/canyon.jpg;
wallpaper = ../../data/wallpapers/globus.jpg;
in
{
imports = [

View File

@@ -19,6 +19,11 @@ in
userName = cfg.userName;
userEmail = cfg.userEmail;
ignores = [
".direnv"
".project"
];
extraConfig = {
init.defaultBranch = "main";
};

View File

@@ -53,6 +53,7 @@ in {
fonts.packages = with pkgs; [
iosevka
emacs-all-the-icons-fonts
noto-fonts-color-emoji
];
env.PATH = [ "$HOME/.config/emacs/bin" ];