terminalhypertermvercel-hyper-terminal

How to set custom background image in Hyperterm


I am trying to switch to Hyperterm from iTerm that I am currently using. But I had a custom background image in my terminal and I'd like to keep having this in new terminal.

I found only backgroundColor in options so far, but nothing about background image.


Solution

  • After some discussion on Github, I have found a solution. Add the following options into your config file:

    module.exports = {
      css: `
        .terms_terms {
          background: url(file://path-to-file) center;
          background-size: cover;
        }
      `,
    
      termCSS: `
        x-screen {
          background: transparent !important;
        }
      `
    };
    

    Hope it helps for somebody else.