Thanks to this reddit I’ve just learned about the Eat terminal emulator, which is really wonderful, especially for someone with that desire to live entirely inside emacs.

My only issue is mostly aesthetic. I use EXWM and usually run kitty inside it because I like having my terminals have a different background color than my buffers.

Is it possible to have emacs color my Eat buffers differently than others?

Thanks for any advice!

  • orzechod@alien.topB
    link
    fedilink
    English
    arrow-up
    1
    ·
    11 months ago

    it is possible! add a lambda to eat-mode-hook which calls face-remap-add-relative for default and, optionally, fringe faces. here’s an example taken from my own dotfiles:

    (add-hook
      'eat-mode-hook
      (lambda ()
        (face-remap-add-relative
         'default
         :foreground "#ffffff"
         :background "#000000")
        (face-remap-add-relative
          'fringe
         :foreground "#ffffff"
         :background "#000000")))
    

    and here’s what it looks like in practice: https://imgur.com/a/9gPCio5