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.
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.
I manage to change it using
// custom css to embed in the main window
css: `
.terms_terms {
background: url(file://<path-to-image>) center;
background-size: cover;
}
.terms_termGroup {
background: rgba(0,0,0,0.7) !important
}
`
inside ~/hyper.js
Using x-screen
didnt work for we
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With