Skip to content

Commit

Permalink
my-display: teach emacs about foot
Browse files Browse the repository at this point in the history
  • Loading branch information
stsquad committed Mar 18, 2024
1 parent d230cb2 commit 03ff95d
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion my-display.el
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down

0 comments on commit 03ff95d

Please sign in to comment.