From 03ff95d4226bd449bbafcd953ded4e6ec132a47a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alex=20Benn=C3=A9e?= Date: Mon, 18 Mar 2024 14:29:52 +0000 Subject: [PATCH] my-display: teach emacs about foot --- my-display.el | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/my-display.el b/my-display.el index 9eb06a2..d4639bf 100644 --- a/my-display.el +++ b/my-display.el @@ -50,11 +50,20 @@ :commands imagemagick-register-types :init (imagemagick-register-types)) +(use-package image-file + :if (getenv "DISPLAY") + :init (auto-image-file-mode 1)) + + +;; Tweaks for terminals +(use-package faces + :config (add-to-list 'term-file-aliases '("foot" . "xterm"))) + ;; ;; The easiest solution is to locally install one of the Nerd Fonts ;; from https://www.nerdfonts.com/ where you can get fonts that have ;; been pimped out with the rest of the unicode space. Otherwise we -;; let unicode-fonts try and do it's thing. +;; let unicode-fonts try and do its thing. ;; (if (--filter (s-prefix-p "DejaVuSansM Nerd Font" it) (font-family-list))